From 081b30a873f91b4b308f384e68986ba79dc5e7eb Mon Sep 17 00:00:00 2001 From: Simonas Date: Tue, 19 Mar 2024 15:26:45 +0100 Subject: [PATCH] Refactor language selector for consistent accessibility The Google Translate element has been relocated to the main topbar for consistent visibility across all device views. Previously, the language selector was only accessible within the off-canvas menu, which could be hidden on smaller devices. Now, it has been moved out of the off-canvas to the main topbar, ensuring that language selection is always available to the user. --- app/views/layouts/decidim/_wrapper.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/decidim/_wrapper.html.erb b/app/views/layouts/decidim/_wrapper.html.erb index ed1e795..67df05b 100644 --- a/app/views/layouts/decidim/_wrapper.html.erb +++ b/app/views/layouts/decidim/_wrapper.html.erb @@ -60,6 +60,9 @@ end
<%= render partial: "layouts/decidim/logo", locals: { organization: current_organization } %>
+
+
+
+ + <% if current_user %> -
-
-
<%= render partial: "layouts/decidim/social_media_links" %> <%= render partial: "layouts/decidim/admin_links" %>