Sha256: 86954c884e248681d5dc7ea474e5b1169c16622790acab3991b9cab26f0bfc84
Contents?: true
Size: 568 Bytes
Versions: 12
Compression:
Stored size: 568 Bytes
Contents
<% representations = current_user.represented.unshift(current_user) - [current_subject] %> <% unless representations.empty? %> <li> <%= link_to "Switch session", "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
12 entries across 12 versions & 2 rubygems