@ -12,10 +12,10 @@
<div class="listing-options">
<div class="listing-options">
<menu class="tab tab-listing-order">
<menu class="tab tab-listing-order">
<li class="tab-item{{' active' if ( post_type == 'topic' or not post_type) else '' }}">
<li class="tab-item{{ ' active' if post_type == 'topic' }}">
<a href="{{ request.current_listing_normal_url({'type': 'topic'}) }}">Topics</a>
<a href="{{ request.current_listing_normal_url({'type': 'topic'}) }}">Topics</a>
</li>
</li>
<li class="tab-item{{ ' active' if post_type == 'comment' else '' }}">
<li class="tab-item{{ ' active' if post_type == 'comment' }}">
<a href="{{ request.current_listing_normal_url({'type': 'comment'}) }}">Comments</a>
<a href="{{ request.current_listing_normal_url({'type': 'comment'}) }}">Comments</a>
</li>
</li>
</menu>
</menu>
@ -35,7 +35,7 @@
{% endfor %}
{% endfor %}
</ol>
</ol>
{% if post_type and (post s.has_prev_page or posts.has_next_page) %}
{% if posts.has_prev_page or posts.has_next_page %}
<div class="pagination">
<div class="pagination">
{% if posts.has_prev_page %}
{% if posts.has_prev_page %}
<a class="page-item btn" id="prev-page"
<a class="page-item btn" id="prev-page"
@ -52,7 +52,13 @@
{% endif %}
{% endif %}
{% else %}
{% else %}
<div class="empty">
<div class="empty">
<h2 class="empty-title">You haven't bookmarked any posts</h2>
<h2 class="empty-title">
{% if post_type == 'topic' %}
You haven't bookmarked any topics
{% elif post_type == 'comment' %}
You haven't bookmarked any comments
{% endif %}
</h2>
</div>
</div>
{% endif %}
{% endif %}