Sha256: 32ad21fa971fbb71b6877f9f7e2850214fb5f19633c10b58a2a9c269624b4e81
Contents?: true
Size: 1.43 KB
Versions: 3
Compression:
Stored size: 1.43 KB
Contents
<% if content_manager? %> <div id="manage-panel"> <div class="panel-head"> <%= link_to image_tag("manage/panel/maximise_but.gif", :alt=>'', :title=>''), manage_structures_path, :class=>"maximize" %> <div class="p-logo"><%=raw t('manage.title') %></div> <div class="panel-main-menu"> <ul> <% if can? :read, Structure, :context => :manage %> <li><%= link_to_unless_current_span2 t('manage.plugins.structures'), manage_structures_path %></li> <% end %> <% if can? :read, User, :context => :manage %> <li><%= link_to_unless_current_span2 t('manage.plugins.users'), manage_users_path %></li> <% end %> <% if can? :read, :settings, :context => :manage %> <li><%= link_to_unless_current_span2 t('manage.plugins.settings'), manage_settings_path %></li> <% end %> </ul> </div> <div class="p-user"> <div class="p-user-info"> <div class="p-info"> <%= link_to current_user.name, edit_manage_user_path(current_user), :class=>"p-name" %> <%= link_to t('manage.exit'), destroy_user_session_path, :class=>"p-exit", :method => :delete %> </div> </div> <div class="p-user-foto"> <%= link_to manage_user_avatar_tag(current_user, :type=>:small), edit_manage_user_path(current_user) %> </div> </div> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sunrise-core-0.2.2 | app/views/manage/shared/_panel.html.erb |
sunrise-core-0.2.1 | app/views/manage/shared/_panel.html.erb |
sunrise-core-0.2.0 | app/views/manage/shared/_panel.html.erb |