[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [lego/master] Update banner with locale directions
commit a978e132949bb4e0ce9b97626ee8d9b24acef523
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Wed Nov 27 14:37:17 2019 +0100
Update banner with locale directions
---
templates/banner.html | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/templates/banner.html b/templates/banner.html
index 37d49be..8ba6e5e 100644
--- a/templates/banner.html
+++ b/templates/banner.html
@@ -1,11 +1,12 @@
+{% set locale = bag('alternatives', this.alt) %}
<div class="banner__containter banner align-middle d-flex justify-content-center p-0">
- <input id="trigger" type="checkbox" title="{{ _('Close banner') }}" />
- <label for="trigger" class="footer__close text-white">X</label>
- <span class="eoy-sr-only text-white">{{ _('Close banner') }}</span>
+ <input id="trigger" type="checkbox" title="{{ _('Close banner') }}" />
+ <label for="trigger" class="footer__close text-white">X</label>
+ <span class="eoy-sr-only text-white">{{ _('Close banner') }}</span>
<div class="eoy-banner row col-md-12" id="banner-header" role="contentinfo">
<div class="col-lg-3 col-md-1"></div>
<div class="col-lg-6 col-md-10">
- <div class="col-12 p-5">
+ <div class="col-12 p-5 {{ locale.order }} {{ locale.direction }}">
<div class="row">
<h4 class="tracking-surveillan">{{ _('Tracking, surveillance, and censorship are widespread online.') }}</h4>
</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits