From 637211f99391bdae70099749b5a1a0743400c295 Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Sun, 25 Oct 2020 21:47:43 -0300 Subject: [PATCH 1/3] =?UTF-8?q?Se=20agrega=20redirecci=C3=B3n=20ah=20codig?= =?UTF-8?q?o=20en=20./overrides?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actualmente se redirecciona el código a los .po, pero no se redirecciona a los .rst de .overrides/ Se agrega un if para saber si sourcename es .rst o .po --- .overrides/tools/templates/customsourcelink.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.overrides/tools/templates/customsourcelink.html b/.overrides/tools/templates/customsourcelink.html index c88cec71f8..b3674b820e 100644 --- a/.overrides/tools/templates/customsourcelink.html +++ b/.overrides/tools/templates/customsourcelink.html @@ -4,9 +4,15 @@

{{ _('This Page') }}

From a16efe9b0572758d2edde54c4dfac3aee2692dfc Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Sun, 25 Oct 2020 22:32:55 -0300 Subject: [PATCH 2/3] ver sourcename --- .overrides/tools/templates/customsourcelink.html | 1 + 1 file changed, 1 insertion(+) diff --git a/.overrides/tools/templates/customsourcelink.html b/.overrides/tools/templates/customsourcelink.html index b3674b820e..2b15d89372 100644 --- a/.overrides/tools/templates/customsourcelink.html +++ b/.overrides/tools/templates/customsourcelink.html @@ -5,6 +5,7 @@

{{ _('This Page') }}

  • {% trans %}Report a Bug{% endtrans %}
  • {% if sourcename.endswith('.rst') %} + {{sourcename}} {{ _('Show Source') }} From 6c3eddff8c57f807b43426b5cd53bfb8bb890a8f Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Sun, 25 Oct 2020 22:52:56 -0300 Subject: [PATCH 3/3] ahora si muestro soucename --- .overrides/tools/templates/customsourcelink.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overrides/tools/templates/customsourcelink.html b/.overrides/tools/templates/customsourcelink.html index 2b15d89372..4fa23af76c 100644 --- a/.overrides/tools/templates/customsourcelink.html +++ b/.overrides/tools/templates/customsourcelink.html @@ -4,8 +4,8 @@

    {{ _('This Page') }}