Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WCAG add pagination to title #1242

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<% add_decidim_meta_tags(
description: translated_attribute(current_participatory_space.short_description),
title: component_name,
title: t("decidim.proposals.pagination.page_title",
component_name: component_name,
current_page: @proposals.current_page,
total_pages: @proposals.total_pages ),
url: proposals_url,
resource: current_component) %>

Expand Down
2 changes: 2 additions & 0 deletions decidim-proposals/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,8 @@ en:
title: Status
new:
limit_reached: You cannot create new proposals since you have exceeded the limit.
pagination:
page_title: "%{component_name} - Page %{current_page} of %{total_pages}"
participatory_text_proposal:
alternative_title: There are no participatory texts at the moment
buttons:
Expand Down
Loading