[tor-commits] [lego/master] Change the machine name of header image on donate pages.

hiro at torproject.org hiro at torproject.org
Tue Oct 13 15:37:43 UTC 2020


commit 83db20ae1a58f4d533c03ce890eb025f4830f0b2
Author: skirtiadi <skirtiadi at giantrabbit.com>
Date:   Thu Sep 17 16:17:25 2020 -0700

    Change the machine name of header image on donate pages.
    
    As per code review feedback to remove confusion.
    
    Issue #48275
---
 templates/header.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/header.html b/templates/header.html
index ebea46f..73ccb16 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -10,11 +10,11 @@
     <div class="container bg-dark pt-5">
     {% endif %}
       <div class="row">
-        {% if this.html == 'donate-form.html' and this.image|length %}
+        {% if this.html == 'donate-form.html' and this.header_image|length %}
         <div class="col-12 content-center pt-5 donate-has-image">
           <div class="row pb-5">
             <h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
-            <img src="{{ this.image }}" class="donate-header-image" />
+            <img src="{{ this.header_image }}" class="donate-header-image" />
           </div>
         </div>
         {% else %}





More information about the tor-commits mailing list