commit 559a51f2b6e477bf1b253f98f3448ca210834013 Author: hiro hiro@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>
tor-commits@lists.torproject.org