2016-02-17 15:09:49 +01:00
|
|
|
.pure-u-1
|
|
|
|
.pure-menu.pure-menu-horizontal
|
|
|
|
= link_to "Tab", root_path, class: "pure-menu-heading pure-menu-link"
|
|
|
|
%ul.pure-menu-list
|
|
|
|
%li.pure-menu-item
|
|
|
|
= link_to current_user.name.capitalize, current_user, class: "pure-menu-link"
|
|
|
|
- if current_user.penning
|
|
|
|
%li.pure-menu-item
|
|
|
|
=link_to "Zeus", User.zeus, class: "pure-menu-link"
|
2017-01-11 14:34:17 +01:00
|
|
|
%li.pure-menu-item
|
|
|
|
= link_to "Requests (#{User.zeus.incoming_requests.size})", user_requests_path(User.zeus), class: 'pure-menu-link'
|
|
|
|
%li.pure-menu-item
|
|
|
|
= link_to "Notifications (#{User.zeus.notifications.size})", user_notifications_path(User.zeus), class: 'pure-menu-link'
|
2017-01-11 14:14:06 +01:00
|
|
|
%li.pure-menu-item
|
|
|
|
= link_to "Requests (#{current_user.incoming_requests.size})", user_requests_path(current_user), class: 'pure-menu-link'
|
|
|
|
%li.pure-menu-item
|
|
|
|
= link_to "Notifications (#{current_user.notifications.size})", user_notifications_path(current_user), class: 'pure-menu-link'
|