Skip to content

Commit

Permalink
add changes in surveys component & refacto projects index file
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Feb 13, 2025
1 parent 3231209 commit 3dfb1e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% add_decidim_meta_tags(
description: translated_attribute(budget.description),
title: t("decidim.components.pagination.page_title",
component_name: "#{t("decidim.budgets.projects.projects_for", name: translated_attribute(budget.title))}",
component_name: t("decidim.budgets.projects.projects_for", name: translated_attribute(budget.title)),
current_page: projects.current_page,
total_pages: projects.total_pages ),
url: budget_url(budget),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<% add_decidim_meta_tags(
description: translated_attribute(current_component.participatory_space.try(:description)),
title: translated_attribute(current_component.name),
title: t("decidim.components.pagination.page_title",
component_name: translated_attribute(current_component.name),
current_page: surveys.current_page,
total_pages: surveys.total_pages ),
url: surveys_url,
resource: current_component
) %>
Expand Down

0 comments on commit 3dfb1e0

Please sign in to comment.