Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions decidim-core/app/cells/decidim/footer_topics/show.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<nav role="navigation" aria-label="Help">
<h2 class="h4 mb-4">Help</h2>
<nav role="navigation" aria-label="<%= t("layouts.decidim.footer.help") %>">
<h2 class="h4 mb-4"><%= t("layouts.decidim.footer.help") %></h2>
<ul class="space-y-4 break-inside-avoid">
<% topics.each do |topic| %>
<%= topic_item(topic, class: "font-semibold underline") %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<nav class="md:w-1/2 lg:w-auto" role="navigation" aria-label="Legal">
<%= render partial: "layouts/decidim/footer/main_legal" %>
</nav>
<nav class="w-full md:w-auto md:ml-auto" role="navigation" aria-label="Social media">
<nav class="w-full md:w-auto md:ml-auto" role="navigation" aria-label="<%= t("layouts.decidim.footer.social_media") %>">
<%= render partial: "layouts/decidim/footer/main_social_media_links" %>
</nav>
<%= render partial: "layouts/decidim/footer/main_language_chooser" %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% if current_organization.official_img_footer.attached? %>
<%= link_to current_organization.official_url, class: "block mb-6" do %>
<%= image_tag current_organization.attached_uploader(:official_img_footer).url, alt: current_organization_name, class: "max-h-16" %>
<%= image_tag current_organization.attached_uploader(:official_img_footer).url, alt: t("layouts.decidim.footer.current_organization_img", organization: current_organization_name), class: "max-h-16" %>
<% end %>
<% end %>
<div class="text-sm text-white prose">
Expand Down
4 changes: 2 additions & 2 deletions decidim-core/app/views/layouts/decidim/footer/_mini.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<a rel="decidim noopener noreferrer" href="https://decidim.org/" target="_blank" data-external-link="text-only">
<%= image_pack_tag("media/images/decidim-logo.svg", alt: t("layouts.decidim.footer.decidim_logo"), class: "max-h-8 block") %>
</a>
<div class="text-xs mt-2 [&_a]:underline">
<p class="text-xs mt-2 [&_a]:underline">
<%= t("layouts.decidim.footer.made_with_open_source").html_safe %>
</div>
</p>
</div>
<a class="flex gap-1 hover:opacity-50" rel="license noopener noreferrer" href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" data-external-link="text-only">
<span class="sr-only"><%= t("layouts.decidim.footer.cc_by_license") %></span>
Expand Down
3 changes: 3 additions & 0 deletions decidim-core/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2102,14 +2102,17 @@ en:
edit: Edit
footer:
cc_by_license: Creative Commons License
current_organization_img: "%{organization} (Back home)"
data_consent_settings: Cookie settings
decidim_logo: Decidim Logo
decidim_title: Decidim
help: Help
log_in: Log in
made_with_open_source: Website made with <a target="_blank" href="https://github.com/decidim/decidim">free software</a>.
open_data: Open Data
resources: Resources
sign_up: Create an account
social_media: Social media
terms_of_service: Terms of Service
header:
back: Back to list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

context "when the back button is clicked" do
before do
click_on "Back"
click_on "Back to proposals"
end

it "redirects to proposals_path" do
Expand Down
Loading