Sha256: cc8fd90089e23b9c256471f856876a06a1a22854e6e3aaf22e97b3af9ef1df9d

Contents?: true

Size: 667 Bytes

Versions: 229

Compression:

Stored size: 667 Bytes

Contents

<% aux='<div class="last">' + stack.last + '</div>' %>
    <% if stack.count >1 %>
      <% aux.insert(0, '<div class="penultimate">'+ stack.last(2).first + '</div>') %>
    <% end %>
    
    <% if stack.count >2 %> 
      <% stack.first(stack.count - 2).reverse.collect {|level|
        aux.insert(0, '<div class="mid">'+ level + '</div>')
      } %>
    <% end %>
    
    <% if stack.count ==1 %>
      <% aux.insert(0, '<div class="first"><span class="penultimate">'+ t('location.base') + '</span></div>') %>
    <% else %>
      <% aux.insert(0, '<div class="first"><span class="mid">'+ t('location.base') + '</span></div>') %>
    <% end%>    
<%= raw aux %>

Version data entries

229 entries across 229 versions & 4 rubygems

Version Path
social_stream-2.2.2 base/app/views/location/_location_body.html.erb
social_stream-base-2.2.2 app/views/location/_location_body.html.erb
social_stream-2.2.1 base/app/views/location/_location_body.html.erb
social_stream-base-2.2.1 app/views/location/_location_body.html.erb
social_stream-2.2.0 base/app/views/location/_location_body.html.erb
social_stream-base-2.2.0 app/views/location/_location_body.html.erb
social_stream-2.1.1 base/app/views/location/_location_body.html.erb
social_stream-1.1.12 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.11 app/views/location/_location_body.html.erb
social_stream-2.1.0 base/app/views/location/_location_body.html.erb
social_stream-base-2.1.0 app/views/location/_location_body.html.erb
social_stream-2.0.4 base/app/views/location/_location_body.html.erb
social_stream-base-2.0.4 app/views/location/_location_body.html.erb
social_stream-2.0.3 base/app/views/location/_location_body.html.erb
social_stream-base-2.0.3 app/views/location/_location_body.html.erb
social_stream-1.1.11 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.10 app/views/location/_location_body.html.erb
social_stream-1.1.10 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.9 app/views/location/_location_body.html.erb
social_stream-1.1.9 base/app/views/location/_location_body.html.erb