commit 54e56dc3169565461644b5a50b1a5ccbbe7d4813 Author: hiro hiro@torproject.org Date: Mon Oct 19 20:14:01 2020 +0200
Add changes for donate.tpo to header --- templates/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/header.html b/templates/header.html index 87e8ee2..ff8af47 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,13 +1,13 @@ {% if this.color == 'primary' %} <div class="container-fluid bg-primary"> {% else %} -<div class="container-fluid bg-dark"> +<div class="container-fluid {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %}"> {% endif %} <div class="row flex-xl-nowrap {{ bag('alternatives', this.alt, 'order') }}"> {% if this.color == 'primary' %} <div class="container bg-primary pt-5"> {% else %} - <div class="container bg-dark pt-5"> + <div class="container {% if this.header_color %} bg-{{ this.header_color }} {% else %} bg-dark {% endif %} pt-5"> {% endif %} <div class="row"> {% if this.html == 'donate-form.html' and this.header_image|length %}
tor-commits@lists.torproject.org