summaryrefslogtreecommitdiff
path: root/app/views/layouts/_navbar.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_navbar.html.haml')
-rw-r--r--app/views/layouts/_navbar.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index 8004c0e..fe5f48f 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -22,7 +22,11 @@
=t("call_histories.index.page_title")
%li
%a{:href => sip_account_voicemail_messages_path(current_user.sip_accounts.first)}
+ %i.icon-star.icon-white{:id => 'new_voicemail_indicator'}
=t("voicemail_messages.index.page_title")
+ :javascript
+ $("#new_voicemail_indicator").hide()
+ = subscribe_to "/users/#{current_user.id}/messages/new"
- if current_user
%ul.nav.pull-right