fix transfer log links appearing on normal comments (lol)

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-13 17:22:25 +02:00
parent f6bf7400c3
commit 4a3693c1b3
1 changed files with 4 additions and 3 deletions

View File

@ -584,9 +584,10 @@
</div>
</div>
<a href="{{c.log_link}}"><i class="far fa-link ml-1 text-muted"></i></a>
<a role="button" class="copy-link" role="button" data-clipboard-text="{{c.log_link}}"><i class="far fa-copy ml-1 text-muted"></i></a>
{% if request.path.startswith('/transfers') %}
<a href="{{c.log_link}}"><i class="far fa-link ml-1 text-muted"></i></a>
<a role="button" class="copy-link" role="button" data-clipboard-text="{{c.log_link}}"><i class="far fa-copy ml-1 text-muted"></i></a>
{% endif %}
{% if render_replies %}
{% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}