Browse Source

Remove IDs from pagination buttons

These weren't used for anything, I'm not sure why they were there.
merge-requests/60/head
Deimos 6 years ago
parent
commit
9cf95ac5b7
  1. 4
      tildes/tildes/templates/bookmarks.jinja2
  2. 4
      tildes/tildes/templates/notifications_unread.jinja2
  3. 8
      tildes/tildes/templates/topic_listing.jinja2
  4. 8
      tildes/tildes/templates/user.jinja2

4
tildes/tildes/templates/bookmarks.jinja2

@ -38,13 +38,13 @@
{% if posts.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"
href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}" href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if posts.has_next_page %} {% if posts.has_next_page %}
<a class="page-item btn" id="next-page"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}" href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}

4
tildes/tildes/templates/notifications_unread.jinja2

@ -56,13 +56,13 @@
{% if notifications.has_prev_page or notifications.has_next_page %} {% if notifications.has_prev_page or notifications.has_next_page %}
<div class="pagination"> <div class="pagination">
{% if notifications.has_prev_page %} {% if notifications.has_prev_page %}
<a class="page-item btn" id="prev-page"
<a class="page-item btn"
href="{{ request.current_listing_normal_url({'before': notifications.prev_page_before_id36}) }}" href="{{ request.current_listing_normal_url({'before': notifications.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if notifications.has_next_page %} {% if notifications.has_next_page %}
<a class="page-item btn" id="next-page"
<a class="page-item btn"
href="{{ request.current_listing_normal_url({'after': notifications.next_page_after_id36}) }}" href="{{ request.current_listing_normal_url({'after': notifications.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}

8
tildes/tildes/templates/topic_listing.jinja2

@ -116,13 +116,13 @@
{% if topics.has_prev_page %} {% if topics.has_prev_page %}
<div class="pagination"> <div class="pagination">
{% if topics.has_prev_page %} {% if topics.has_prev_page %}
<a class="page-item btn" id="prev-page-top"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'before': topics.prev_page_before_id36}) }}" href="{{ request.current_listing_base_url({'before': topics.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if topics.has_next_page %} {% if topics.has_next_page %}
<a class="page-item btn" id="next-page-top"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'after': topics.next_page_after_id36}) }}" href="{{ request.current_listing_base_url({'after': topics.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}
@ -177,13 +177,13 @@
{% if topics.has_prev_page or topics.has_next_page %} {% if topics.has_prev_page or topics.has_next_page %}
<div class="pagination"> <div class="pagination">
{% if topics.has_prev_page %} {% if topics.has_prev_page %}
<a class="page-item btn" id="prev-page-bottom"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'before': topics.prev_page_before_id36}) }}" href="{{ request.current_listing_base_url({'before': topics.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if topics.has_next_page %} {% if topics.has_next_page %}
<a class="page-item btn" id="next-page-bottom"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'after': topics.next_page_after_id36}) }}" href="{{ request.current_listing_base_url({'after': topics.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}

8
tildes/tildes/templates/user.jinja2

@ -52,13 +52,13 @@
{% if request.has_permission("view_history", user) and posts.has_prev_page %} {% if request.has_permission("view_history", user) and posts.has_prev_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-top"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}" href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if posts.has_next_page %} {% if posts.has_next_page %}
<a class="page-item btn" id="next-page-top"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}" href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}
@ -87,13 +87,13 @@
{% if request.has_permission("view_history", user) and (posts.has_prev_page or posts.has_next_page) %} {% if request.has_permission("view_history", user) and (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-bottom"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}" href="{{ request.current_listing_base_url({'before': posts.prev_page_before_id36}) }}"
>Prev</a> >Prev</a>
{% endif %} {% endif %}
{% if posts.has_next_page %} {% if posts.has_next_page %}
<a class="page-item btn" id="next-page-bottom"
<a class="page-item btn"
href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}" href="{{ request.current_listing_base_url({'after': posts.next_page_after_id36}) }}"
>Next</a> >Next</a>
{% endif %} {% endif %}

Loading…
Cancel
Save