MarseyWorld/files/templates/userpage/wall.html

29 lines
979 B
HTML
Raw Normal View History

2022-12-03 01:49:07 +00:00
{% extends "userpage/userpage.html" %}
{% block userpage_content %}
2023-09-29 03:43:25 +00:00
<div class="userpage-wall">
{{macros.comment_reply_box(u.fullname, 'replying-to-' + u.fullname, '', 'mb-3 mt-4', '', enable_cancel_button=false)}}
2023-09-05 18:52:08 +00:00
2023-09-29 03:43:25 +00:00
{% if comment_info %}
<div class="total mt-1"><a href="/@{{u.username}}">View entire wall <i class="fas fa-long-arrow-right ml-1"></i></a></div>
{% endif %}
2023-09-05 18:52:08 +00:00
2023-09-29 03:43:25 +00:00
<div class="row no-gutters px-3 p-md-0 userpage-wall" style="margin-top: 10px">
<div class="col">
<div class="comment-section" id="replies-of-{{u.fullname}}">
{% with comments=listing %}
{% include "comments.html" %}
{% endwith %}
</div>
2023-09-29 03:43:25 +00:00
{% if not listing %}
{% if u.id == v.id %}
{% set text = "There are no comments on your wall yet!" %}
2023-09-29 03:43:25 +00:00
{% else %}
{% set text = "There are no comments on @" ~ u.username ~ "'s wall yet!" %}
2023-09-29 03:43:25 +00:00
{% endif %}
{{macros.ghost_box(text, '', 1)}}
{% endif %}
</div>
</div>
2022-12-03 01:49:07 +00:00
</div>
{% endblock %}