[tor-commits] [lego/master] Remove row in donate header
hiro at torproject.org
hiro at torproject.org
Thu Oct 22 16:39:41 UTC 2020
commit b530f5b10691f36701dd87e149b31a44197fa9b2
Author: hiro <hiro at torproject.org>
Date: Thu Oct 22 18:39:37 2020 +0200
Remove row in donate header
---
templates/header.html | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/templates/header.html b/templates/header.html
index 7fe8770..5be07ea 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -11,13 +11,13 @@
{% endif %}
<div class="row">
{% if this.html == 'donate-form.html' and this.header_image|length %}
- <div class="col-12 content-center pt-1 pt-sm-0 donate-has-image">
- <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
- <img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
- {% set idx = this.header_image.index(".png") %}
- {% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
- <img src="{{ header_mobile | asseturl }}" class="img-fluid" />
- </div>
+ <div class="col-12 content-center pt-1 pt-sm-0 donate-has-image">
+ <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
+ <img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
+ {% set idx = this.header_image.index(".png") %}
+ {% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
+ <img src="{{ header_mobile | asseturl }}" class="donate-header-image-mobile img-fluid" />
+ </div>
{% else %}
<div class="col-12 content-center pt-5">
<div class="row">
More information about the tor-commits
mailing list