diaspora/app/views/conversations/_conversation_subject.haml
2015-09-11 23:17:02 +02:00

9 lines
285 B
Text

.subject
.badge.badge-default.message-count.pull-right
= conversation.messages.size
- if unread_count > 0
.badge.badge-important.unread-message-count.pull-right
= unread_count
%div{ :class => direction_for(conversation.subject) }
= conversation.subject[0..30]