Sha256: 0400861cbe2c87a8aa12098559dfda0b5fcad48640b6e4d179bb865fa6887c80

Contents?: true

Size: 1.49 KB

Versions: 12

Compression:

Stored size: 1.49 KB

Contents

<% content_for :secondary_nav do %>
  <div class="secondary-nav">
    <div class="secondary-nav__title">
      <%= t ".title" %>
    </div>
    <ul>
      <li <% if is_active_link?(decidim_admin.edit_organization_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.configuration", scope: "decidim.admin"), decidim_admin.edit_organization_path %>
      </li>
      <li <% if is_active_link?(decidim_admin.edit_organization_appearance_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.appearance", scope: "decidim.admin"), decidim_admin.edit_organization_appearance_path %>
      </li>
      <li <% if is_active_link?(decidim_admin.scopes_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.scopes", scope: "decidim.admin"), decidim_admin.scopes_path %>
      </li>
      <li <% if is_active_link?(decidim_admin.scope_types_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.scope_types", scope: "decidim.admin"), decidim_admin.scope_types_path %>
      </li>
      <li <% if is_active_link?(decidim_admin.areas_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.areas", scope: "decidim.admin"), decidim_admin.areas_path %>
      </li>
      <li <% if is_active_link?(decidim_admin.area_types_path) %> class="is-active" <% end %>>
        <%= link_to t("menu.area_types", scope: "decidim.admin"), decidim_admin.area_types_path %>
      </li>
    </ul>
  </div>
<% end %>

<%= render "layouts/decidim/admin/application" do %>
  <%= yield %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-admin-0.13.1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.12.2 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.13.0 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.12.1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.13.0.pre1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.12.0 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.11.2 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.12.0.pre app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.11.1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.11.0.pre1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.10.1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.10.0 app/views/layouts/decidim/admin/settings.html.erb