[tor-commits] [community/staging] give localized link

pili at torproject.org pili at torproject.org
Mon Jun 3 10:10:57 UTC 2019


commit cb6830c55212a1121147d5cecc1d5b2bad8c0841
Author: emma peel <emma.peel at riseup.net>
Date:   Tue May 28 11:29:27 2019 +0200

    give localized link
---
 templates/localization.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/localization.html b/templates/localization.html
index 4338fb2..a0bb3d0 100644
--- a/templates/localization.html
+++ b/templates/localization.html
@@ -15,7 +15,7 @@
           <div class="card-body">
             <div class="card-body">
               <h4 class="text-primary">.{{ child.key }}</h4>
-              <h4 class="card-title text-primary"><a href="{{ _(child.path) }}">{{ _(child.title) }}</a></h4>
+              <h4 class="card-title text-primary"><a href="/{{ this.alt}}{{ child.path }}">{{ _(child.title) }}</a></h4>
               <p class="card-text">{{ _(child.subtitle) }}</p>
             </div>
           </div>





More information about the tor-commits mailing list