Sha256: 2c50f8399caac7d6f83850b69af59474dd622e32bd7ca133df49d08ae0ca391c

Contents?: true

Size: 526 Bytes

Versions: 7

Compression:

Stored size: 526 Bytes

Contents

<div id="sidebar">
  <% if @section and @section.categories.present? %>
    <h4><%= t(:'adva.sidebar.titles.topics') %></h4>
    <ul>
    <% @section.categories.each do |category| %>
      <li><%= link_to_category @section, category %></li>
    <% end %>
    </ul>
  <% end %>

  <% if @section and @section.tag_counts.present? %>
    <h4><%= t(:'adva.sidebar.titles.tags') %></h4>
    <ul>
    <% @section.tag_counts.each do |tag| %>
      <li><%= link_to_tag @section, tag %></li>
    <% end %>
    </ul>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
adva-0.1.4 app/views/shared/_sidebar.html.erb
adva-0.1.3 app/views/shared/_sidebar.html.erb
adva-0.1.2 app/views/shared/_sidebar.html.erb
adva-0.1.1 app/views/shared/_sidebar.html.erb
adva-0.1.0 app/views/shared/_sidebar.html.erb
adva_cms-0.0.1 app/views/shared/_sidebar.html.erb
adva-0.0.1 adva_cms/app/views/shared/_sidebar.html.erb