Add mockup menu items

This commit is contained in:
Petko Bordjukov 2015-04-20 19:52:29 +03:00
parent ec1bbcc88a
commit 9724633c23
2 changed files with 19 additions and 0 deletions

View File

@ -19,6 +19,19 @@ nav.navbar.navbar-static-top.navbar-inverse role="navigation"
- Conference.all.each do |conference|
li
= link_to conference.title, management_conference_path(conference)
li class="#{'active' if controller_name == 'sessions'}"
= link_to management_users_path do
=> icon 'user', User.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw'
- if @conference.present?
li class="#{'active' if controller_name == 'events'}"
= link_to management_conference_events_path(@conference) do
=> icon 'file-text', Event.model_name.human(count: 2).mb_chars.capitalize, class: 'fa-fw'
li class="#{'active' if controller_name == 'sponsorship_offers'}"
= link_to '#' do
=> icon 'money', t('activerecord.models.sponsorship_offer', count: 2).mb_chars.capitalize, class: 'fa-fw'
li class="#{'active' if controller_name == 'volunteerships'}"
= link_to '#' do
=> icon 'hand-o-up', t('activerecord.models.volunteership', count: 2).mb_chars.capitalize, class: 'fa-fw'
ul.nav.navbar-nav.navbar-right
li.dropdown
= link_to '#', class: 'dropdown-toggle', data: {toggle: 'dropdown'} do

View File

@ -81,6 +81,12 @@ bg:
conference:
one: конференция
other: конференции
sponsorship_offer:
one: спонсор
other: спонсори
volunteership:
one: доброволец
other: доброволци
attributes:
hall:
name: Име