Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAndrej Kacian <andrej@kacian.sk>2011-07-28 00:33:13 +0400
committerAndrej Kacian <andrej@kacian.sk>2011-07-28 00:33:13 +0400
commitcc3ba8b076752e832b112f825d928927e0a098ad (patch)
tree13c4023604b8839b83439d8c54486c228edf1908 /app
parent0f6f9a4b0a849fc6188d1a1cadd1a78e9a764aca (diff)
Display unread post count for conversations in inbox, if appropriate.
Diffstat (limited to 'app')
-rw-r--r--app/views/conversations/_conversation.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/conversations/_conversation.haml b/app/views/conversations/_conversation.haml
index 72bc1baa6..604088436 100644
--- a/app/views/conversations/_conversation.haml
+++ b/app/views/conversations/_conversation.haml
@@ -7,6 +7,9 @@
= person_image_tag(conversation.author)
.subject
+ - if unread_counts[conversation.id].to_i > 0
+ .unread_message_count
+ = unread_counts[conversation.id].to_i
.message_count
= conversation.messages.size