Sha256: 90af954a8c1aa351fcddc5ae0bf771bc0d42ea3125de56b7aade7d77dc39108e
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 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) + (content_tag(:span, representation.pending_contacts_count.to_s, :class => "switch_pending_count") if representation.pending_contacts_count > 0), { :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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
social_stream-0.16.2 | base/app/views/layouts/_header_dropdown_menu_sessions.html.erb |
social_stream-base-0.11.1 | app/views/layouts/_header_dropdown_menu_sessions.html.erb |