mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Removes admin from dropdown
This commit is contained in:
parent
738098e4a9
commit
a9814146ff
1 changed files with 9 additions and 22 deletions
|
|
@ -13,26 +13,13 @@
|
|||
Sign out
|
||||
-if has_role?(current_user, "admin") || has_role?(current_user, "organizer")
|
||||
%li.divider
|
||||
%li.dropdown-header
|
||||
Conferences
|
||||
- @conferences.each do |conference|
|
||||
%li
|
||||
= link_to(admin_conference_path(conference.short_title)) do
|
||||
%span.glyphicon.glyphicon-cog
|
||||
Manage
|
||||
= conference.short_title
|
||||
%li
|
||||
= link_to(new_admin_conference_path) do
|
||||
%span.glyphicon.glyphicon-plus
|
||||
New Conference
|
||||
%li.divider
|
||||
%li.dropdown-header
|
||||
People
|
||||
%li
|
||||
= link_to(admin_users_path) do
|
||||
%span.glyphicon.glyphicon-user
|
||||
Users
|
||||
%li
|
||||
= link_to(admin_people_path) do
|
||||
%span.glyphicon.glyphicon-star-empty
|
||||
People
|
||||
= link_to(admin_conference_index_path()) do
|
||||
%span.glyphicon.glyphicon-home
|
||||
Administration
|
||||
-if @conference and @conference.id
|
||||
%li
|
||||
= link_to(admin_conference_path(@conference.short_title)) do
|
||||
%span.glyphicon.glyphicon-cog
|
||||
Manage
|
||||
= @conference.short_title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue