mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 17:49:41 +00:00
Remove row in donate header
This commit is contained in:
parent
e88609f027
commit
b530f5b106
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user