add comment to explain the invisible username label (it confused the heck out of me until I realised)

This commit is contained in:
Alice Harris
2014-08-24 18:54:01 +10:00
parent 815c013282
commit 5cc587b08f
+1
View File
@@ -4,6 +4,7 @@ li.chat-message(ng-repeat='message in group.chat', ng-class=':: {highlight: isUs
a.label.label-default.chat-message.hidden-label
span {{::message.user}} 
span(ng-class='userAdminGlyphiconStyleFromLevel(message.contributor.level)')
// this invisible username label is here to push the message text far enough right that the visible label can be floated to this point without covering up any of the text
markdown(ng-model='::message.text')
| -
span.muted.time(from-now='::message.timestamp')