Fix back link
This commit is contained in:
parent
e41b989862
commit
67e71b717b
3 changed files with 23 additions and 19 deletions
|
@ -311,7 +311,7 @@ ul.messages {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
.big-link {
|
a {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
[class^="ri-"] {
|
[class^="ri-"] {
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
<h2>
|
<h2>
|
||||||
{% block h2 %}{% endblock %}
|
{% block h2 %}{% endblock %}
|
||||||
</h2>
|
</h2>
|
||||||
|
{% if account or category or search %}
|
||||||
|
<div class="backlinks">
|
||||||
|
{% block backlinks %}
|
||||||
{% if account %}
|
{% if account %}
|
||||||
<p>
|
<p>
|
||||||
<a class="big-link" href="{{ account.get_absolute_url }}">{{ account.icon|remix }}{{ account }}</a>
|
<a class="big-link" href="{{ account.get_absolute_url }}">{{ account.icon|remix }}{{ account }}</a>
|
||||||
|
@ -34,6 +37,9 @@
|
||||||
<a href="{% url "search" %}">{% translate "Search" %}</a>
|
<a href="{% url "search" %}">{% translate "Search" %}</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/pagination.html" %}
|
||||||
{% block table %}{% endblock %}
|
{% block table %}{% endblock %}
|
||||||
{% include "main/pagination.html" %}
|
{% include "main/pagination.html" %}
|
||||||
|
|
|
@ -4,15 +4,13 @@
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
{% css "main/css/plot.css" %}
|
{% css "main/css/plot.css" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block name %}{{ month|date:"F Y"|capfirst }}{% endblock %}
|
||||||
{% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %}
|
{% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %}
|
||||||
{% block backlinks %}
|
{% block backlinks %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
{% if account or category %}
|
{% if account or category %}
|
||||||
<p class="back">
|
<p class="back">
|
||||||
<a class="big-link"
|
<a href="{% url "transaction_month" month.year month.month %}">{% translate "Back" %}{{ "arrow-go-back"|remix }}</a>
|
||||||
href="{% url "transaction_month" month.year month.month %}">
|
|
||||||
{% translate "Back" %}{{ "arrow-go-back"|remix }}
|
|
||||||
</a>
|
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue