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-0.9.7 base/app/views/location/_location_body.html.erb
social_stream-base-0.9.10 app/views/location/_location_body.html.erb
social_stream-0.9.6 base/app/views/location/_location_body.html.erb
social_stream-base-0.9.9 app/views/location/_location_body.html.erb
social_stream-0.9.5 base/app/views/location/_location_body.html.erb
social_stream-base-0.9.8 app/views/location/_location_body.html.erb
social_stream-0.9.4 base/app/views/location/_location_body.html.erb
social_stream-0.9.3 base/app/views/location/_location_body.html.erb
social_stream-base-0.9.7 app/views/location/_location_body.html.erb