Sha256: 962ab2f7b1ff8dcb2bcdd3477c121f2b458fdc90bd0cfc057e278c13dcae0349
Contents?: true
Size: 604 Bytes
Versions: 23
Compression:
Stored size: 604 Bytes
Contents
<% representations = current_user.represented.unshift(current_user) - [current_subject] %> <% if representations.present? %> <li class="dropdown-submenu pull-left"> <%= link_to t('representation.switch'), "#", tabindex: "-1" %> <ul class="dropdown-menu dropdown-menu-header"> <% representations.each do |representation| %> <li> <%= link_to :s => representation.slug do %> <%= image_tag representation.logo.url(:small) %> <%= truncate_name(representation.name, :length => 15) %> <% end %> </li> <% end %> </ul> </li> <% end %>
Version data entries
23 entries across 23 versions & 2 rubygems