Sha256: 8d0658163f457eee7740f868c9220e4e8026e93b73d561412ab16e9d7726d4e3
Contents?: true
Size: 1.9 KB
Versions: 6
Compression:
Stored size: 1.9 KB
Contents
<div class="title-bar"> <div class="layout-content__container"> <span class="font-semibold text-sm"> <%= current_organization_name %> </span> <div class="tool-bar"> <%= link_to decidim.root_path, class: "button__site", target: "_blank", data: { "external-link": false } do %> <%= icon "eye-line" %> <%= t("see_site", scope: "decidim.admin.menu") %> <% end %> <% if available_locales.length > 1 %> <div class="language-choose relative"> <%= button_tag id: "admin-menu-trigger", data: { component: "dropdown", target: "admin-dropdown-menu-language" }, class: "dropdown__trigger" do %> <%= t("name", scope: "locale") %> <%= icon "arrow-down-s-line" %> <% end %> <div id="admin-dropdown-menu-language" aria-hidden="true"> <ul class="dropdown dropdown__bottom"> <% (available_locales - [I18n.locale.to_s]).each do |locale| %> <li class="dropdown__item"> <%= link_to(locale_name(locale), decidim.locale_path(locale:), method: :post, tabindex: "-1") %> </li> <% end %> </ul> </div> </div> <% end %> <div class="user-login relative"> <%= button_tag current_user.email, id: "admin-dropdown-menu-login-trigger", data: { component: "dropdown", target: "admin-dropdown-menu-login" } , class: "dropdown__trigger" do %> <%= current_user.email %> <%= icon "arrow-down-s-line" %> <% end %> <div id="admin-dropdown-menu-login" aria-hidden="true"> <ul class="dropdown dropdown__bottom"> <li class="dropdown__item"> <%= link_to(t("layouts.decidim.user_menu.log_out"), decidim.destroy_user_session_path, method: :delete, tabindex: "-1") %> </li> </ul> </div> </div> </div> </div> </div>
Version data entries
6 entries across 6 versions & 1 rubygems