Revised the navigation bar so that viewers do not see the menu of the unmatched offsets.

This commit is contained in:
依瑪貓 2023-04-11 07:50:10 +08:00
parent 404b902d88
commit e30d1257e5

View File

@ -51,12 +51,14 @@ First written: 2023/1/26
{{ A_("Currencies") }} {{ A_("Currencies") }}
</a> </a>
</li> </li>
<li> {% if accounting_can_edit() %}
<a class="dropdown-item {% if request.endpoint and request.endpoint.startswith("accounting.unmatched-offset.") %} active {% endif %}" href="{{ url_for("accounting.unmatched-offset.dashboard") }}"> <li>
<i class="fa-solid fa-link-slash"></i> <a class="dropdown-item {% if request.endpoint and request.endpoint.startswith("accounting.unmatched-offset.") %} active {% endif %}" href="{{ url_for("accounting.unmatched-offset.dashboard") }}">
{{ A_("Unmatched Offsets") }} <i class="fa-solid fa-link-slash"></i>
</a> {{ A_("Unmatched Offsets") }}
</li> </a>
</li>
{% endif %}
{% if accounting_can_admin() %} {% if accounting_can_admin() %}
<li> <li>
<a class="dropdown-item {% if request.endpoint and request.endpoint.startswith("accounting.option.") %} active {% endif %}" href="{{ url_for("accounting.option.detail") }}"> <a class="dropdown-item {% if request.endpoint and request.endpoint.startswith("accounting.option.") %} active {% endif %}" href="{{ url_for("accounting.option.detail") }}">