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-base-1.1.4 app/views/location/_location_body.html.erb
social_stream-1.1.4 base/app/views/location/_location_body.html.erb
social_stream-1.1.3 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.3 app/views/location/_location_body.html.erb
social_stream-1.1.2 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.2 app/views/location/_location_body.html.erb
social_stream-1.1.1 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.1 app/views/location/_location_body.html.erb
social_stream-1.1.0 base/app/views/location/_location_body.html.erb
social_stream-base-1.1.0 app/views/location/_location_body.html.erb
social_stream-1.0.1 base/app/views/location/_location_body.html.erb
social_stream-base-1.0.0 app/views/location/_location_body.html.erb
social_stream-0.30.2 base/app/views/location/_location_body.html.erb
social_stream-base-0.24.2 app/views/location/_location_body.html.erb
social_stream-0.30.1 base/app/views/location/_location_body.html.erb
social_stream-base-0.24.1 app/views/location/_location_body.html.erb
social_stream-0.30.0 base/app/views/location/_location_body.html.erb
social_stream-base-0.24.0 app/views/location/_location_body.html.erb
social_stream-0.29.0 base/app/views/location/_location_body.html.erb
social_stream-base-0.23.0 app/views/location/_location_body.html.erb