Sha256: b661f676c43d543d37a2c7830bd46690794ed5cdcb6f7395c296f66e23c2da1a

Contents?: true

Size: 1.75 KB

Versions: 7

Compression:

Stored size: 1.75 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.edit_organization_homepage_path, /^\/admin\/organization\/homepage/) %> class="is-active" <% end %>>
        <%= link_to t("menu.homepage", scope: "decidim.admin"), decidim_admin.edit_organization_homepage_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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-admin-0.15.2 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.15.1 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.15.0 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.14.4 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.14.3 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.14.2 app/views/layouts/decidim/admin/settings.html.erb
decidim-admin-0.14.1 app/views/layouts/decidim/admin/settings.html.erb