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 67cf5dac231cfe5f7ad97f4ad50fed39e93b3904..1422ee8e12cc0a0b1efbd1b150cced2700f5fb59 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>