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

[tor-commits] [tpo/master] Check if there is a tor alpha version



commit 559a51f2b6e477bf1b253f98f3448ca210834013
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Fri May 3 14:46:24 2019 +0200

    Check if there is a tor alpha version
---
 templates/download-tor.html | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/templates/download-tor.html b/templates/download-tor.html
index b9bc816..2722525 100644
--- a/templates/download-tor.html
+++ b/templates/download-tor.html
@@ -24,10 +24,12 @@
           <td>{{ t.version }}</td>
           <td class="text-right"><a href="{{ download_link }}">{{ _('Download') }}</a> (<a href="{{ sig_link }}">{{ _('sig') }}</a>)</td>
         </tr>
-        <tr>
-          <td>{{ a.version }}</td>
-          <td class="text-right"><a href="{{ alpha_download_link }}">{{ _('Download') }}</a> (<a href="{{ alpha_sig_link }}">{{ _('sig') }}</a>)</td>
-        </tr>
+        {% if t.version != a.version %}
+          <tr>
+            <td>{{ a.version }}</td>
+            <td class="text-right"><a href="{{ alpha_download_link }}">{{ _('Download') }}</a> (<a href="{{ alpha_sig_link }}">{{ _('sig') }}</a>)</td>
+          </tr>
+        {% end %}
       </tbody>
     </table>
   </div>

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