Sha256: 6062bc45ddda373251f9a379f25ef2356e601bac5605d5c91e4324f0c0a0a11b

Contents?: true

Size: 482 Bytes

Versions: 10

Compression:

Stored size: 482 Bytes

Contents

<% if can? *navigate_module(navigation) %>
  <%= link_to url_for_module(alchemy_module), class: main_navigation_css_classes(navigation) do %>
    <% if navigation["image"] %>
    <%= image_tag(navigation["image"]) %>
    <% elsif navigation["icon"] %>
    <span class="module icon <%= navigation["icon"] %>"></span>
    <% else %>
    <span class="module icon"></span>
    <% end %>
    <label><%= truncate Alchemy.t(navigation["name"]), length: 10 %></label>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.4.2 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.4.1 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.3 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.4.0 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.4.0.rc1 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/partials/_main_navigation_entry.html.erb