2022-12-03 01:49:07 +00:00
|
|
|
{% extends "userpage/userpage.html" %}
|
2022-12-09 03:35:28 +00:00
|
|
|
{% block userpage_content %}
|
2023-09-29 03:43:25 +00:00
|
|
|
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %} userpage-comments">
|
|
|
|
<div class="col">
|
|
|
|
{% if listing %}
|
|
|
|
<div class="posts p-3 p-md-0">
|
|
|
|
{% with comments=listing %}
|
|
|
|
{% include "comments.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% else %}
|
2023-09-29 03:43:25 +00:00
|
|
|
<div class="text-center px-3 my-3">
|
|
|
|
{% if '/saved/' in request.path %}
|
|
|
|
{% set text = "You haven't saved any comments yet!" %}
|
|
|
|
{% elif v and v.id == u.id %}
|
|
|
|
{% set text = "You haven't made any comments yet!" %}
|
|
|
|
{% else %}
|
|
|
|
{% set text = '@' ~ u.username ~ " hasn't made any comments yet!" %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{macros.ghost_box(text, '', 1)}}
|
|
|
|
</div>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2023-09-29 03:43:25 +00:00
|
|
|
</div>
|
2022-10-28 23:31:39 +00:00
|
|
|
{% endblock %}
|