From ac40afe22ceb25ead92903d91026cf49f6464aae Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 5 Oct 2022 22:36:35 +0100 Subject: [PATCH] Issue #3307700 by _shY, Amber Himes Matz: Update breadcrumbs in aggregator, color, and tracker help topics to use help_route_link function --- .../help_topics/tracker.tracking_changed_content.html.twig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig b/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig index 67cf5dac231c..1422ee8e12cc 100644 --- a/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig +++ b/core/modules/tracker/help_topics/tracker.tracking_changed_content.html.twig @@ -5,11 +5,14 @@ related: - statistics.tracking_popular_content - history.tracking_user_content --- -{% set recent = render_var(url('tracker.page')) %} +{% set recent_link_text %} +{% trans %}Recent content{% endtrans %} +{% endset %} +{% set recent_link = render_var(help_route_link(recent_link_text, 'tracker.page')) %} <h2>{% trans %}What displays of recently-updated content are available?{% endtrans %}</h2> <p>{% trans %}Assuming that you have the core Activity Tracker module installed, these pages that show recently-updated content are available:{% endtrans %}</p> <ul> - <li>{% trans %}<a href="{{ recent }}"><em>Recent content</em></a>: Shows the content that has been most recently added, updated, or commented on.{% endtrans %}</li> + <li>{% trans %}{{ recent_link }}: Shows the content that has been most recently added, updated, or commented on.{% endtrans %}</li> <li>{% trans %}The <em>My recent content</em> tab on the <em>Recent content</em> page (for logged-in users) limits the list to content created or commented on by the user viewing the page.{% endtrans %}</li> <li>{% trans %}The <em>Activity</em> tab on a user profile shows the same list for the user whose profile is being viewed.{% endtrans %}</li> </ul> -- GitLab