From 3733abd36af06d635ea1ebcb051242eafafd7df0 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 20 Feb 2025 14:49:54 +0000 Subject: [PATCH 1/3] Add 'Show translation source' --- Doc/tools/templates/customsourcelink.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index eb9db9e341bd75..525ef23bcee5eb 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -8,6 +8,12 @@

{{ _('This Page') }}

rel="nofollow">{{ _('Show Source') }} + {% if language != "en" %} +
  • + {{ _('Show translation source') }} +
  • + {% endif %} {%- endif %} From 73d2c8d7e73c9724673ed95b95ccfbaccaafd481 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:39:36 +0000 Subject: [PATCH 2/3] Make the code look good Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Doc/tools/templates/customsourcelink.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index 525ef23bcee5eb..863c46a9d617d5 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -11,7 +11,7 @@

    {{ _('This Page') }}

    {% if language != "en" %}
  • {{ _('Show translation source') }} + rel="nofollow">{{ _('Show Translation Source') }}
  • {% endif %} From a9342b77e0417fe5f03e888a069c3138c5668d17 Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Thu, 20 Feb 2025 17:00:13 +0000 Subject: [PATCH 3/3] Simplification of Show Source --- Doc/tools/templates/customsourcelink.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index 863c46a9d617d5..6d49dfd839f393 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -4,7 +4,7 @@

    {{ _('This Page') }}