Sha256: 60ece0b9fa697fd1f4f0fcfa22d1dee8eb4f9629b1f64beb420dae084dcdf1cc

Contents?: true

Size: 379 Bytes

Versions: 33

Compression:

Stored size: 379 Bytes

Contents

<%# automatic legend for topics without auto or custom fragments %>
<% for layer in @topic.layers.accessible_by(current_ability).order('topics_layers.leg_sort DESC') do -%>

    <% if layer.legend %>
      <div class="legpart"> 
      <p class="layer"><%= layer.title %></p>
      <%= render :partial => layer.legend, :as => :legend %>
      </div>
    <% end -%>

  <% end -%>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
gb_mapfish_appserver-2.0.0 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.1.1 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.1.0 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.6 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.5 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.4 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.3 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.2 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.1 app/views/topics/_legend.html.erb
gb_mapfish_appserver-1.0.0 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.7 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.6 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.5 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.4 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.3 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.2 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.1 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.9.0 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.8.7 app/views/topics/_legend.html.erb
gb_mapfish_appserver-0.8.6 app/views/topics/_legend.html.erb