Sha256: 347caafe369f571528fdafcdbc3ddef36d2835026a2ddefea652c74e6145d92d
Contents?: true
Size: 1.53 KB
Versions: 12
Compression:
Stored size: 1.53 KB
Contents
<% if user_signed_in? %> <div class="btn-group" id="user_utility_links"> <%= render partial: 'users/notify_link' %> <%= link_to sufia.dashboard_index_path, class: "btn btn-default", id: "dashboard_link", title: "click for Dashboard" do %> <span class="glyphicon glyphicon-dashboard"></span> <span class="sr-only">click for </span> <span class="hidden-xs"> <%= current_user.name %></span> <span class="sr-only"> dashboard</span> <% end %> <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" title="click for additional menu options"><span class="caret" ></span></a> <ul class="dropdown-menu dropdown-menu-right" role="menu"> <li><%= link_to raw('<span class="glyphicon glyphicon-upload"></span> upload'), sufia.new_generic_file_path, id: 'upload_nav_link' %></li> <li><%= link_to raw('<span class="glyphicon glyphicon-user"></span> my profile'), sufia.profile_path(current_user), id: 'profile_nav_link' %></li> <%= render partial: 'users/user_util_links_extra' %> <li class="divider"></li> <li><%= link_to raw('<span class="glyphicon glyphicon-log-out"></span> log out'), destroy_user_session_path, id: 'logout_nav_link' %></li> </ul> </div><!-- /.btn-group --> <% else %> <div class="btn-group login_button pull-right"> <%= link_to raw('<span class="glyphicon glyphicon-log-in" aria-hidden="true"></span> Login'), new_user_session_path, class: "btn btn-default btn-group", title: "Login" %> </div> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems