Counting messages

This commit is contained in:
JC 2016-11-25 10:11:11 +01:00
parent 58df3c3a75
commit 1c1942063b

View file

@ -8,7 +8,8 @@
%div.carret-down
MESSAGES
%div.col-lg-2.col-md-2.count
2 messages
- message_count = @facade.commentaires.count
= (message_count == 1) ? "1 message" : "#{message_count} messages"
%div.body
.default_data_block