Sha256: 64aadbdd9c00c4d7deda08c4b139568bc70c7ff90ee964a36dfd76d55f2bed6d
Contents?: true
Size: 1.57 KB
Versions: 52
Compression:
Stored size: 1.57 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 current_exhibit and can? :curate, current_exhibit %> <li> <%= link_to t('spotlight.dashboards.show.header'), spotlight.exhibit_dashboard_path(current_exhibit) %> </li> <li class="divider"></li> <% end %> <% if can? :create, Spotlight::Exhibit %> <li> <%= link_to t(:'helpers.action.spotlight/exhibit.create'), spotlight.new_exhibit_path %> </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
52 entries across 52 versions & 1 rubygems