aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/layout.html')
-rw-r--r--budget/templates/layout.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/layout.html b/budget/templates/layout.html
index 543bcb3..ccf958f 100644
--- a/budget/templates/layout.html
+++ b/budget/templates/layout.html
@@ -42,8 +42,8 @@
{% if g.project %}
<ul class="nav primary-nav">
{% block navbar %}
- <li class="active"><a href="{{ url_for(".list_bills") }}">{{ _("Bills") }}</a></li>
- <li><a href="{{ url_for(".settle_bill") }}">{{ _("Settle") }}</a></li>
+ <li class="nav-item{% if current_view == 'list_bills' %} active{% endif %}"><a class="nav-link" href="{{ url_for(".list_bills") }}">{{ _("Bills") }}</a></li>
+ <li class="nav-item{% if current_view == 'settle_bill' %} active{% endif %}"><a class="nav-link" href="{{ url_for(".settle_bill") }}">{{ _("Settle") }}</a></li>
{% endblock %}
</ul>
{% endif %}