summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 00:39:00 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 00:39:00 +0100
commit6794ba5553a4a3f7206718276052c5c20c0ea5b0 (patch)
tree1d0132c5523d8a8c9f71715d5337f3f33f6a37d1 /app/views/layouts
parentde2369863c8cb0d2ea61a236f869d91dd0cce3af (diff)
Added nav items.
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_navbar.html.haml12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index d6f08cb..d9dd990 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -9,13 +9,17 @@
%span.icon-bar
%span.icon-bar
- - if current_user
+ - if current_user && current_user.sip_accounts.any?
.nav-collapse.collapse
%ul.nav
%li
- %a{:href => "#about"} About
- %li.pull_right
- %a{:href => "#contact"} Contact
+ %a{:href => sip_account_call_histories_path(current_user.sip_accounts.first)}
+ %i.icon-list-alt.icon-white
+ =t("call_histories.index.page_title")
+ %li
+ %a{:href => sip_account_voicemail_messages_path(current_user.sip_accounts.first)}
+ %i.icon-volume-up.icon-white
+ =t("voicemail_messages.index.page_title")
- if current_user
%ul.nav.pull-right