Commit 861918ab authored by Thomas Löffler's avatar Thomas Löffler

Shows download button only if not insecure

parent 4597b04f
Pipeline #2219 passed with stages
in 1 minute and 20 seconds
......@@ -48,8 +48,14 @@
<div class="">
<a class="btn btn-primary btn-block" href="{document.extensionDownloadZipUrl_stringS}"><i class="fa fa-download"></i> Download version {document.extensionVersion_stringS} as ZIP</a>
<f:if condition="{document.insecure_boolS}">
<div class="">
<a class="btn btn-outline-primary btn-block" href="{document.extensionDownloadZipUrl_stringS}">
<i class="fa fa-download"></i> Download version {document.extensionVersion_stringS} as ZIP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment