forked from MarseyWorld/MarseyWorld
fix transfer log links appearing on normal comments (lol)
parent
f6bf7400c3
commit
4a3693c1b3
|
@ -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") %}
|
||||
|
|
Loading…
Reference in New Issue