mirror of
https://github.com/torproject/lego.git
synced 2024-11-27 03:30:23 +00:00
Merge branch 'no-hardcoded-capitalization' into 'main'
prevent hardcoded capitalization Closes tpo#390 See merge request tpo/web/lego!88
This commit is contained in:
commit
766dfca651
@ -74,9 +74,9 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 d-flex justify-content-center">
|
<div class="col-12 d-flex justify-content-center">
|
||||||
<div class="col-sm-6 offset-lx-1 offset-sm-0 mt-5">
|
<div class="col-sm-6 offset-lx-1 offset-sm-0 mt-5">
|
||||||
<p class="text-primary-light text-uppercase">{{ _('Subscribe to our Newsletter') }}</p>
|
<p class="text-primary-light">{{ _('SUBSCRIBE TO OUR NEWSLETTER') }}</p>
|
||||||
<p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project:') }}</p>
|
<p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project:') }}</p>
|
||||||
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">{{ _('Sign up') }}</a></p>
|
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">{{ _('SIGN UP') }}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2 mt-5 d-none d-sm-block">
|
<div class="col-sm-2 mt-5 d-none d-sm-block">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
{% if this._model == 'donate-form' and this.header_image|length %}
|
{% if this._model == 'donate-form' and this.header_image|length %}
|
||||||
<div class="col-12 content-center pt-1 pt-sm-0 donate-has-image">
|
<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>
|
<h2 class="mx-auto display-3 text-white donate-title">{{ this.title }}</h2>
|
||||||
<img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
|
<img src="{{ this.header_image | asseturl }}" class="donate-header-image img-fluid" />
|
||||||
{% set idx = this.header_image.index(".png") %}
|
{% set idx = this.header_image.index(".png") %}
|
||||||
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
|
{% set header_mobile = this.header_image[:idx] + "-mobile" + this.header_image[idx:] %}
|
||||||
@ -26,10 +26,10 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<div class="col-12 content-center pt-5">
|
<div class="col-12 content-center pt-5">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h6 class="mx-auto text-white text-capitalize">{% block section %}{{ this.section }}{% endblock %}</h6>
|
<h6 class="mx-auto text-white">{% block section %}{{ this.section }}{% endblock %}</h6>
|
||||||
</div>
|
</div>
|
||||||
<div class="row pb-5">
|
<div class="row pb-5">
|
||||||
<h2 class="mx-auto display-3 text-white text-capitalize">{% block title %}{{ this.title }}{% endblock %}</h2>
|
<h2 class="mx-auto display-3 text-white">{% block title %}{{ this.title }}{% endblock %}</h2>
|
||||||
</div>
|
</div>
|
||||||
{% if this.header_description_alignment == 'center' %}
|
{% if this.header_description_alignment == 'center' %}
|
||||||
<div class="row text-center header-description">
|
<div class="row text-center header-description">
|
||||||
|
Loading…
Reference in New Issue
Block a user