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

[tor-commits] [donate-static/staging] Different footer menu links



commit de51a24e2cec2157e158881583b236cb612e36af
Author: Peter Haight <peterh@xxxxxxxxxxxxxxx>
Date:   Mon Oct 19 16:10:39 2020 -0700

    Different footer menu links
    
    We want to have the FAQ and Privacy Policy linked in the footer instead
    of the standard links.
---
 databags/menu_footer.ini | 8 +++++++-
 templates/footer.html    | 6 ------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/databags/menu_footer.ini b/databags/menu_footer.ini
deleted file mode 120000
index e6c1f3ba..00000000
--- a/databags/menu_footer.ini
+++ /dev/null
@@ -1 +0,0 @@
-../lego/databags/menu_footer.ini
\ No newline at end of file
diff --git a/databags/menu_footer.ini b/databags/menu_footer.ini
new file mode 100644
index 00000000..548f0773
--- /dev/null
+++ b/databags/menu_footer.ini
@@ -0,0 +1,7 @@
+[donor-faq]
+path = https://donate.torproject.org/donor-faq
+label = Donor FAQ
+
+[privacy-policy]
+path = https://donate.torproject.org/privacy-policy
+label = Donor Privacy Policy
diff --git a/templates/footer.html b/templates/footer.html
index 1b5b83d5..99a22f63 100644
--- a/templates/footer.html
+++ b/templates/footer.html
@@ -59,12 +59,6 @@
           </li>
           {% endfor %}
         </ul>
-        {% set link = bag('links', this.alt, 'donate') %}
-        {% if link %}
-          <a href="{{ link }}" title="{{ _("Donate") }}"><h5><span class="badge badge-warning p-2 mt-2">{{ _("Donate Now") }}</span></h5></a>
-        {% else %}
-          <a href="https://www.torproject.org/donate/{{ this.alt }}" title="{{ _("Donate") }}"><h4><span class="badge badge-warning p-2">{{ _("Donate Now") }}</span></h4></a>
-        {% endif %}
       </div>
     </div>
   </div>



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