~cofob/AlfisViewer

87fba6ff33790eab02e354257713f35c84fba376 — Vasiliy Petrov 2 years ago 5277437
Fix unusual list buttons
2 files changed, 4 insertions(+), 4 deletions(-)

M templates/block/list.html
M templates/domain/list.html
M templates/block/list.html => templates/block/list.html +2 -2
@@ 3,11 3,11 @@
{% load i18n %}
{% block content %}
<h1>{% trans "Blocks" %}</h1>
<p><a href="{% url 'block_list' %}?p={{ page|incr }}"><< </a><a href="{% url 'block_list' %}?p={{ page|decr }}"> >></a></p>
<p><a href="{% url 'block_list' %}?p={{ page|decr }}"><< </a><a href="{% url 'block_list' %}?p={{ page|incr }}"> >></a></p>
{% for item in list %}
    <p><a href="{% url 'block' item.id %}"><code>{{ item.id }}. {{ item.hash|hexlify }}</code></a></p>
{% endfor %}
<p><a href="{% url 'block_list' %}?p={{ page|incr }}"><< </a><a href="{% url 'block_list' %}?p={{ page|decr }}"> >></a></p>
<p><a href="{% url 'block_list' %}?p={{ page|decr }}"><< </a><a href="{% url 'block_list' %}?p={{ page|incr }}"> >></a></p>
{% endblock content %}
{% block script %}
<script>set_tab('block')</script>

M templates/domain/list.html => templates/domain/list.html +2 -2
@@ 3,11 3,11 @@
{% load i18n %}
{% block content %}
<h1>{% trans "Domain list" %}</h1>
<p><a href="{% url 'domain_list' %}?p={{ page|incr }}"><< </a><a href="{% url 'domain_list' %}?p={{ page|decr }}"> >></a></p>
<p><a href="{% url 'domain_list' %}?p={{ page|decr }}"><< </a><a href="{% url 'domain_list' %}?p={{ page|incr }}"> >></a></p>
{% for item in list %}
    <p><a href="{% url 'domain' item %}"><code>{{ item|get_domain_str }}</code></a></p>
{% endfor %}
<p><a href="{% url 'domain_list' %}?p={{ page|incr }}"><< </a><a href="{% url 'domain_list' %}?p={{ page|decr }}"> >></a></p>
<p><a href="{% url 'domain_list' %}?p={{ page|decr }}"><< </a><a href="{% url 'domain_list' %}?p={{ page|incr }}"> >></a></p>
{% endblock content %}
{% block script %}
<script>set_tab('domain')</script>