add inbox message to index widget

This commit is contained in:
pixeldesu 2014-11-30 19:13:19 +01:00
parent f6d9b1ea71
commit 48f30f50ac
1 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,12 @@
%p %p
Welcome, Welcome,
= current_user.screen_name = current_user.screen_name
- if inbox_count > 0
%p
%strong
You have
= inbox_count
new questions in your inbox!
.row .row
.col-md-6.col-sm-6.col-xs-6 .col-md-6.col-sm-6.col-xs-6
%h4.entry-text#follower-count= current_user.follower_count %h4.entry-text#follower-count= current_user.follower_count