Sha256: 283b6238e37caf0fd0c4cd99d898fe3718565892c3155f892462a4766b209016
Contents?: true
Size: 1.75 KB
Versions: 15
Compression:
Stored size: 1.75 KB
Contents
<div class="navbar-right"> <ul class="nav navbar-nav"> <%= render_nav_actions do |config, action|%> <li><%= action %></li> <% end %> </ul> <ul class="nav navbar-nav"> <% if current_user %> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><%=current_user%> <b class="caret"></b></a> <ul class="dropdown-menu"> <% if can? :manage, Spotlight::Site.instance %> <li><%= link_to t(:'spotlight.header_links.edit_site'), spotlight.edit_site_path %></li> <% end %> <% if can? :create, Spotlight::Exhibit %> <li> <%= link_to t(:'spotlight.header_links.create_exhibit'), spotlight.new_exhibit_path %> </li> <li class="divider"></li> <% end %> <% if current_exhibit && can?(:curate, current_exhibit) %> <li> <%= link_to t('spotlight.header_links.dashboard'), spotlight.exhibit_dashboard_path(current_exhibit) %> </li> <li class="divider"></li> <% end %> <li> <%= link_to "Change Password", main_app.edit_user_registration_path %> </li> <li> <%= link_to t('spotlight.header_links.logout'), main_app.destroy_user_session_path %> </li> </ul> </li> <% else %> <li> <%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path %> </li> <% end %> <% if current_exhibit and show_contact_form? %> <li> <%= link_to t('spotlight.header_links.contact'), spotlight.new_exhibit_contact_form_path(current_exhibit), data: {behavior: 'contact-link', target: 'report-problem-form' } %> </li> <% end %> </ul> </div>
Version data entries
15 entries across 15 versions & 1 rubygems