mirror of
https://github.com/dobin/avred
synced 2026-06-08 13:54:13 +00:00
ui: outflank only when logged in
This commit is contained in:
@@ -82,8 +82,10 @@ File is not detected by AV.
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<a href="{{request.path}}/outflank">Download</a> patched file (undetected)
|
||||
<br>
|
||||
|
||||
{% if current_user.is_authenticated %}
|
||||
<a href="{{request.path}}/outflank">Download</a> patched file (undetected)<br>
|
||||
{% endif %}
|
||||
<br>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</td>
|
||||
<td style="white-space:nowrap;">{{outcome.fileInfo.ident}}</td>
|
||||
<td>
|
||||
{% if outcome.outflankPatches|length > 0 %}
|
||||
{% if current_user.is_authenticated and outcome.outflankPatches|length > 0 %}
|
||||
<a href="{{request.path}}/outflank">(D)</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user