fix view all atms

This commit is contained in:
tawoe 2022-07-06 09:12:56 +02:00
parent 8ab53e18b8
commit 86137c0ea8
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,7 @@
padding: 8px 0;
z-index: 1;
/*bottom: 125%;*/
top:100%
top:100%;
left: 50%;
margin-left: -80px;
}

View File

@ -75,13 +75,14 @@
{% url "branches_list" as branches_list_url %}
{% url "customers-create" as customers_create_url %}
{% url "atms_list" as atms_list_url %}
{% url "all_atms_view" as all_atms_view_url%}
<li class="dropdown{% if customers_create_url in request.path %} active{% endif %}">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">{% trans "Resources" %}</a>
<ul class="dropdown-menu">
<li{% if customers_create_url in request.path %} class="active"{% endif %}><a href="{{ customers_create_url }}">{% trans "Customers" %}</a></li><hr class="dropdown-hr">
<li{% if branches_list_url in request.path %} class="active"{% endif %}><a href="{{ branches_list_url }}">{% trans "Branches" %}</a></li>
<li{% if atms_list_url in request.path %} class="active"{% endif %}><a href="{{ atms_list_url }}">{% trans "ATMs" %}</a></li>
<li{% if all_atms_view_url in request.path %} class="active"{% endif %}><a href="http://127.0.0.1:8000/es/atms/atmlist/">{% trans "ATMs View" %}</a></li>
<li{% if all_atms_view_url in request.path %} class="active"{% endif %}><a href="{{ all_atms_view_url }}">{% trans "ATMs View" %}</a></li>
</ul>
</li>
{% url "config-index" as config_index_url %}