forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 19:50:27 -06:00
parent 5f35cd02c4
commit 3551d8c259
1 changed files with 2 additions and 27 deletions

View File

@ -383,35 +383,10 @@
</div>
{% elif replies %}
<div id="morecomment-{{c.id}}" class="mt-2 more-comments text-small hidden-on-collapse">
<button id="btn-{{c.id}}" class="btn btn-gray" onclick="morecomments('{{c.id}}')">More comments</button>
<a class="md:hidden" href="{{c.shortlink}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div>
{% endif %}
{% endif %}
{% if render_replies %}
{% if level<10 %}
<div id="replies-of-{{c.id}}">
{% for reply in replies %}
{{single_comment(reply, level=level+1)}}
{% endfor %}
</div>
{% elif replies and "notifications" in request.path %}
<div id="replies-of-{{c.id}}" class="d-none d-md-block">
{% set standalone=False %}
{% for reply in replies %}
{{single_comment(reply, level=level+1)}}
{% endfor %}
</div>
<div id="morecomment-{{c.id}}" class="d-md-none mt-2 more-comments text-small">
<a href="{{c.shortlink}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div>
{% elif replies %}
<div id="morecomments-{{c.id}}" class="mt-2 more-comments text-small">
<button class="mt-2 w-full btn btn-gray" id="load-more-replies-button" onclick="loadMoreReplies({{cid}},'{{sort}}',{{offset}},'comment-list',this.id); this.disabled = true;">
<button class="mt-2 w-full btn btn-gray" id="load-more-replies-button" onclick="loadMoreReplies({{c.id}},'{{sort}}',{{offset}},'comment-list',this.id); this.disabled = true;">
Load more replies
</button>
<a class="d-md-none" href="{{c.shortlink}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
<a class="md:hidden" href="{{c.shortlink}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div>
{% endif %}
{% endif %}