[tor-commits] [tpo/staging] Update template

gus at torproject.org gus at torproject.org
Mon Jul 20 17:04:06 UTC 2020


commit 841a1934e58e0653afd62dd609dbc173b4998572
Author: Antonela <hola at antonela.me>
Date:   Tue Jun 2 08:37:57 2020 -0300

    Update template
    
    Add sidebar callouts
---
 templates/release.html | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/templates/release.html b/templates/release.html
index c1ad2f2e..1671cb60 100644
--- a/templates/release.html
+++ b/templates/release.html
@@ -8,12 +8,36 @@
 
           <div class="container py-3 mt-5">
 
+            <div class="row">
+
             <div class="col-sm-9">
               {% block body %}
                 {{ this.body }}
               {% endblock %}
             </div>
 
+            <div class="col-sm-3">
+
+              <div class="card-body h-100% w-50% text-center border">
+                  <h4 class="text-primary">{{ _("Do you need help?") }}</h4>
+                  <i class="fas fa-life-ring h1 text-primary mx-auto"></i>
+                  <div class=" pt-2" style="text-align: center;">
+                    <p class="toc-entry toc-h2 nav-item mb-0" >{{ ("See our community FAQ's") }}</p>
+                    <a href="https://support.torproject.org" class="pt-1">{{ ("Visit Support") }}</a>
+                  </div>
+              </div>
+
+              <div class="card-body h-100% w-50% text-center mt-4" style="background:#F2ECF4;">
+                  <h4 class="text-primary">{{ _("Get in Touch") }}</h4>
+                  <i class="fas fa-comments h1 text-primary mx-auto"></i>
+                  <div class=" pt-2" style="text-align: center;">
+                    <p class="toc-entry toc-h2 nav-item mb-0" >{{ ("Chat with us live!") }}</p>
+                    <a href="https://webchat.oftc.net/?channels=tor" class="pt-1">{{ ("Join us on IRC") }}</a>
+                  </div>
+              </div>
+
+            </div>
+
             <div class="card mt-5">
               <ul class="list-group list-group-flush">
                 <!--li class="list-group-item"><a><span class="card-text text-muted">{{ _("Contributors to this page:") }} <a href="#" title="#">cypherpunk</a></span></li-->
@@ -25,10 +49,13 @@
 
           </div>
 
+          </div>
+
         </main>
       </div>
     </div>
   </div>
+  
   {% if this.section == "Download" %}
     {% include 'footer-min.html' %}
   {% else %}





More information about the tor-commits mailing list