remove useless spacec
parent
4728691986
commit
a6adbd8e5e
|
@ -38,7 +38,7 @@
|
|||
<ul class="list-group post-actions">
|
||||
{% if v.id==p.author_id %}
|
||||
<button type="button" class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" data-nonce="{{g.nonce}}" data-onclick="togglePostEdit('{{p.id}}')"><i class="far fa-edit text-center text-muted mr-2"></i>Edit</button>
|
||||
{% elif p.body and v.admin_level < PERMS['POST_EDITING'] %}
|
||||
{% elif p.body and v.admin_level < PERMS['POST_EDITING'] %}
|
||||
<button type="button" class="nobackground btn btn-link btn-block btn-lg text-left text-muted" data-bs-dismiss="modal" data-nonce="{{g.nonce}}" data-onclick="expandMarkdown('{{p.fullname}}')"><i class="fas text-expand-icon-{{p.fullname}} fa-expand-alt text-center mr-2"></i><span class="expand-text-{{p.fullname}}">View source</span></button>
|
||||
{% endif %}
|
||||
|
||||
|
@ -350,7 +350,7 @@
|
|||
<script defer src="{{'js/fart.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
<script defer src="{{'js/admin/post.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -282,7 +282,7 @@
|
|||
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
||||
<script defer src="{{'js/comments+post_listing.js' | asset}}"></script>
|
||||
<script defer src="{{'js/post_listing.js' | asset}}"></script>
|
||||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
|
||||
<script defer src="{{'js/admin/post.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<div id="username" class="d-none">{{u.username}}</div>
|
||||
{% endif %}
|
||||
<script defer src="{{'js/userpage.js' | asset}}"></script>
|
||||
{% if (not (IS_FISTMAS() or IS_DKD()) or SITE_NAME == 'WPD') and u.can_see_my_shit %}
|
||||
{% if (not (IS_FISTMAS() or IS_DKD()) or SITE_NAME == 'WPD') and u.can_see_my_shit %}
|
||||
<script defer src="{{'js/profile_song.js' | asset}}"></script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue