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:
依瑪貓 2020-08-01 07:56:06 +08:00
parent 54939d3050
commit c1da25b3b5

View File

@ -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>
{% endif %}
{% 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 %}
</div>
{% if period.has_months_to_choose %}