Sha256: cc71eb64c18fb8f65461d1aef01fa70188908d050a38da689845c1c99275e93f

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 KB

Contents

<%= footer_menu.render %>

<nav role="navigation" aria-label="<%= t("layouts.decidim.user_menu.profile") %>">
  <h2 class="h4 mb-4"><%= t("layouts.decidim.user_menu.profile") %></h2>
  <ul class="space-y-4 break-inside-avoid">
    <% if current_user %>
      <li class="font-semibold underline"><%= link_to t("layouts.decidim.user_menu.configuration"), decidim.account_path %></li>
      <li class="font-semibold underline"><%= link_to t("layouts.decidim.user_menu.public_profile"), decidim.profile_path(current_user.nickname) %></li>
      <li class="font-semibold underline"><%= link_to t("layouts.decidim.user_menu.notifications"), decidim.notifications_path %></li>
      <li class="font-semibold underline"><%= link_to t("layouts.decidim.user_menu.conversations"), decidim.conversations_path %></li>
    <% else %>
      <% if current_organization.sign_up_enabled? %>
        <li class="font-semibold underline"><%= link_to t("layouts.decidim.footer.sign_up"), decidim.new_user_registration_path %></li>
      <% end %>
      <li class="font-semibold underline"><%= link_to t("layouts.decidim.footer.log_in"), decidim.new_user_session_path %></li>
    <% end %>
  </ul>
</nav>

<nav role="navigation" aria-label="<%= t("layouts.decidim.footer.resources") %>">
  <h2 class="h4 mb-4"><%= t("layouts.decidim.footer.resources") %></h2>
  <ul class="space-y-4 break-inside-avoid">
    <li class="font-semibold underline"><%= link_to t("decidim.profiles.show.activity"), decidim.last_activities_path %></li>
    <% if Decidim.module_installed?(:meetings) %>
      <li class="font-semibold underline"><%= link_to t("decidim.pages.home.extended.meetings"), Decidim::Meetings::DirectoryEngine.routes.url_helpers.root_path %></li>
    <% end %>
    <li class="font-semibold underline"><%= link_to t("layouts.decidim.footer.download_open_data"), decidim.open_data_download_path %></li>
  </ul>
</nav>

<%= cell("decidim/footer_topics", nil) %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/views/layouts/decidim/footer/_main_links.html.erb
decidim-core-0.29.0 app/views/layouts/decidim/footer/_main_links.html.erb
decidim-core-0.29.0.rc4 app/views/layouts/decidim/footer/_main_links.html.erb
decidim-core-0.29.0.rc3 app/views/layouts/decidim/footer/_main_links.html.erb
decidim-core-0.29.0.rc2 app/views/layouts/decidim/footer/_main_links.html.erb
decidim-core-0.29.0.rc1 app/views/layouts/decidim/footer/_main_links.html.erb