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

emmapeel at torproject.org emmapeel at torproject.org
Tue May 28 09:37:45 UTC 2019


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

    give localized link
---
 templates/localization.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/localization.html b/templates/localization.html
index e8d3881..196d8f5 100644
--- a/templates/localization.html
+++ b/templates/localization.html
@@ -15,8 +15,8 @@
           <div class="card-body">
             <div class="card-body">
               <h4 class="text-primary">.{{ child.key }}</h4>
-              <h4 class="card-title text-primary">{{ child.title }}</h4>
-              <p class="card-text">{{ child.subtitle }}</p>
+              <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>
         </div>



More information about the tor-commits mailing list