adjust whitespace in comments.html
This commit is contained in:
parent
fc8834950e
commit
3bf8150a24
1 changed files with 118 additions and 118 deletions
|
@ -12,8 +12,8 @@
|
|||
{% set replies = c.replies(v) %}
|
||||
|
||||
{% if not c.visibility_and_message(v)[0] %}
|
||||
{% if c.show_descendants(v) %}
|
||||
<div id="comment-{{c.id}}" class="comment">
|
||||
{% if c.show_descendants(v) %}
|
||||
<div id="comment-{{c.id}}" class="comment">
|
||||
<div class="comment-collapse-icon" onclick="collapse_comment('{{c.id}}', this.parentElement)"></div>
|
||||
<div class="comment-collapse-bar-click" onclick="collapse_comment('{{c.id}}', this.parentElement)">
|
||||
<div class="comment-collapse-bar"></div>
|
||||
|
@ -43,25 +43,25 @@
|
|||
{%- endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
|
||||
{%- set voted = c.voted_display(v) -%}
|
||||
{%- set voted = c.voted_display(v) -%}
|
||||
|
||||
{% if standalone and level==1 %}
|
||||
<div class="post-info post-row-cid-{{c.id}} mb-1 mr-2 mt-3">
|
||||
{% if standalone and level==1 %}
|
||||
<div class="post-info post-row-cid-{{c.id}} mb-1 mr-2 mt-3">
|
||||
{% if c.post and c.post.over_18 %}<span class="badge badge-danger text-small-extra mr-1">+18</span>{% endif %}
|
||||
<span class="align-top">
|
||||
<span class="font-weight-bold">{{c.header_msg(v, is_notification_page) | safe}}</span>
|
||||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% set isreply = not standalone and c.parent_comment and c.parent_comment.sentto %}
|
||||
{% set isreply = not standalone and c.parent_comment and c.parent_comment.sentto %}
|
||||
|
||||
<div id="comment-{{c.id}}" class="anchor comment {% if standalone and level==1 %} mt-0{% endif %} {% if c.collapse_for_user(v,request.path) %}collapsed{% endif %}">
|
||||
<div id="comment-{{c.id}}" class="anchor comment {% if standalone and level==1 %} mt-0{% endif %} {% if c.collapse_for_user(v,request.path) %}collapsed{% endif %}">
|
||||
{% if not isreply %}
|
||||
<div class="comment-collapse-icon" onclick="collapse_comment('{{c.id}}', this.parentElement)"></div>
|
||||
<div class="comment-collapse-bar-click" onclick="collapse_comment('{{c.id}}', this.parentElement)">
|
||||
|
@ -141,12 +141,12 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
{%- include 'component/comment/actions_mobile.html' -%}
|
||||
{%- include 'component/comment/actions_mobile.html' -%}
|
||||
|
||||
{% if v and v.admin_level >= 2 %}
|
||||
{% if v and v.admin_level >= 2 %}
|
||||
{%- include 'component/comment/actions_mobile_admin.html' -%}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue