[tor-commits] [tpo/master] Check if there is a tor alpha version
hiro at torproject.org
hiro at torproject.org
Fri May 3 12:46:33 UTC 2019
commit 559a51f2b6e477bf1b253f98f3448ca210834013
Author: hiro <hiro at torproject.org>
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>
More information about the tor-commits
mailing list