pyfedi/app/templates/user/bookmarks_comments.html

47 lines
1.9 KiB
HTML
Raw Normal View History

2024-06-21 02:28:49 -07:00
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
{% extends 'themes/' + theme() + '/base.html' %}
{% else %}
{% extends "base.html" %}
{% endif %}
{% set active_child = 'bookmarks' %}
{% block app_content %}
<div class="row">
<div class="col-12 col-md-8 position-relative main_pane">
<nav class="mb-2" aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
<li class="breadcrumb-item"><a href="/u/{{ user.link() }}">{{ user.display_name() }}</a></li>
<li class="breadcrumb-item active">{{ _('Bookmarks') }}</li>
</ol>
</nav>
<h1>{{ _('Bookmarks of comments') }}</h1>
{% include 'user/_bookmarks_nav.html' %}
<div class="post_list">
{% for post_reply in post_replies.items %}
2024-07-10 13:55:11 -07:00
{% with teaser=True %}
{% include 'post/_post_reply_teaser.html' %}
{% endwith %}
<hr />
2024-06-21 02:28:49 -07:00
{% else -%}
<p>{{ _('No comments have been bookmarked. Use the three dots on each comment to find the bookmark function.') }}</p>
{% endfor -%}
</div>
<nav aria-label="Pagination" class="mt-4" role="navigation">
{% if prev_url %}
<a href="{{ prev_url }}" class="btn btn-primary" rel="nofollow">
<span aria-hidden="true">&larr;</span> {{ _('Previous page') }}
</a>
{% endif %}
{% if next_url %}
<a href="{{ next_url }}" class="btn btn-primary" rel="nofollow">
{{ _('Next page') }} <span aria-hidden="true">&rarr;</span>
</a>
{% endif %}
</nav>
</div>
</div>
{% endblock %}