Sha256: 1d3646675001fc2ea2db75c69439aadd610019f7d76d46d5568ce063acfe5e53
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
<% content_for :secondary_nav do %> <div class="secondary-nav secondary-nav--subnav"> <ul> <% if allowed_to?(:index, :endpoint) %> <li <% if is_active_link?(decidim_admin_comparative_stats.endpoints_path) %> class="is-active" <% end %>> <%= aria_selected_link_to I18n.t("menu.endpoints", scope: "decidim.comparative_stats.admin"), decidim_admin_comparative_stats.endpoints_path %> </li> <% end %> <% if allowed_to?(:index, :graph) %> <li <% if is_active_link?(decidim_admin_comparative_stats.graphs_path) %> class="is-active" <% end %>> <%= aria_selected_link_to I18n.t("menu.graphs", scope: "decidim.comparative_stats.admin"), decidim_admin_comparative_stats.graphs_path %> </li> <% end %> </ul> </div> <% end %> <%= render "layouts/decidim/admin/application" do %> <div class="process-title"> <div class="process-title-content"> <%= link_to t("decidim.admin.menu.comparative_stats"), decidim_admin_comparative_stats.endpoints_path, target: "_blank" %> </div> </div> <div class="process-content"> <%= yield %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-comparative_stats-1.1.0 | app/views/layouts/decidim/admin/comparative_stats.html.erb |
decidim-comparative_stats-1.0.1 | app/views/layouts/decidim/admin/comparative_stats.html.erb |