[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/master] give localized link
commit cb6830c55212a1121147d5cecc1d5b2bad8c0841
Author: emma peel <emma.peel@xxxxxxxxxx>
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>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits