Sha256: 2eaf0b2e14d91bbb2fafebb175435c7b3fe0b1f9ee8461b833ef2e993f4f4f47
Contents?: true
Size: 579 Bytes
Versions: 60
Compression:
Stored size: 579 Bytes
Contents
<% representations = current_user.represented.unshift(current_user) - [current_subject] %> <% unless representations.empty? %> <li> <%= link_to t('representation.switch'), "javascript:;", :class=>"session_change" %> <ul> <% representations.each do |representation| %> <li> <%= link_to truncate_name(representation.name, :length => 15), { :s => representation.slug }, { :style => "background: transparent url('#{ image_path representation.logo.url(:representation)}') no-repeat left center;margin-left:2px;" } %> </li> <% end %> </ul> </li> <% end %>
Version data entries
60 entries across 60 versions & 2 rubygems