[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 83db20ae1a58f4d533c03ce890eb025f4830f0b2
Author: skirtiadi <skirtiadi@xxxxxxxxxxxxxxx>
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 %}



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits