2022-12-03 01:49:07 +00:00
|
|
|
{% extends "userpage/userpage.html" %}
|
2022-12-09 03:35:28 +00:00
|
|
|
{% block userpage_content %}
|
|
|
|
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %} userpage-comments" style="margin-top: 10px;">
|
2022-05-04 23:09:46 +00:00
|
|
|
<div class="col">
|
|
|
|
{% if listing %}
|
|
|
|
<div class="posts p-3 p-md-0">
|
|
|
|
{% with comments=listing %}
|
|
|
|
{% include "comments.html" %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="text-center px-3 my-3">
|
|
|
|
<span class="fa-stack fa-2x text-muted mb-4">
|
|
|
|
<i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i>
|
|
|
|
<i class="fas text-gray-500 fa-scroll-old fa-stack-1x text-lg"></i>
|
|
|
|
</span>
|
|
|
|
{% if '/saved/' in request.path %}
|
2022-10-29 00:52:11 +00:00
|
|
|
<h5>You haven't saved any comments yet</h5>
|
2022-05-04 23:09:46 +00:00
|
|
|
{% elif v and v.id == u.id %}
|
2022-10-29 00:52:11 +00:00
|
|
|
<h5>You haven't made any comments yet</h5>
|
2022-05-04 23:09:46 +00:00
|
|
|
<p class="text-muted mb-md-5">Your commenting history will show here.</p>
|
|
|
|
{% else %}
|
2022-10-29 00:52:11 +00:00
|
|
|
<h5>@{{u.username}} hasn't made any comments yet</h5>
|
2022-05-04 23:09:46 +00:00
|
|
|
<p class="text-muted">Their commenting history will show here.</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-28 23:31:39 +00:00
|
|
|
{% endblock %}
|