Fixed the text in the period chooser for the period "since last month" in the period chooser template in the Mia core application.
This commit is contained in:
parent
54939d3050
commit
c1da25b3b5
@ -64,7 +64,7 @@ First written: 2020/7/10
|
|||||||
<a class="btn btn-primary" role="button" href="{% url_period period.last_month %}">{% trans "Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
<a class="btn btn-primary" role="button" href="{% url_period period.last_month %}">{% trans "Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if period.since_last_month is not None %}
|
{% if period.since_last_month is not None %}
|
||||||
<a class="btn btn-primary" role="button" href="{% url_period period.since_last_month %}">{% trans "Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
<a class="btn btn-primary" role="button" href="{% url_period period.since_last_month %}">{% trans "Since Last Month" context "Period|" as text %}{{ text|force_escape }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if period.has_months_to_choose %}
|
{% if period.has_months_to_choose %}
|
||||||
|
Loading…
Reference in New Issue
Block a user