Add mockup menu items
This commit is contained in:
parent
ec1bbcc88a
commit
9724633c23
|
@ -19,6 +19,19 @@ nav.navbar.navbar-static-top.navbar-inverse role="navigation"
|
||||||
- Conference.all.each do |conference|
|
- Conference.all.each do |conference|
|
||||||
li
|
li
|
||||||
= link_to conference.title, management_conference_path(conference)
|
= 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
|
ul.nav.navbar-nav.navbar-right
|
||||||
li.dropdown
|
li.dropdown
|
||||||
= link_to '#', class: 'dropdown-toggle', data: {toggle: 'dropdown'} do
|
= link_to '#', class: 'dropdown-toggle', data: {toggle: 'dropdown'} do
|
||||||
|
|
|
@ -81,6 +81,12 @@ bg:
|
||||||
conference:
|
conference:
|
||||||
one: конференция
|
one: конференция
|
||||||
other: конференции
|
other: конференции
|
||||||
|
sponsorship_offer:
|
||||||
|
one: спонсор
|
||||||
|
other: спонсори
|
||||||
|
volunteership:
|
||||||
|
one: доброволец
|
||||||
|
other: доброволци
|
||||||
attributes:
|
attributes:
|
||||||
hall:
|
hall:
|
||||||
name: Име
|
name: Име
|
||||||
|
|
Loading…
Reference in New Issue