minor fixes

This commit is contained in:
2026-06-29 18:55:37 +02:00
parent 84ad29d0a0
commit af2ce4732b
6 changed files with 66 additions and 16 deletions
+6 -5
View File
@@ -6,15 +6,16 @@
<div class="row justify-content-md-center" >
<div class="col col-md-6">
<ul class="nav nav-tabs">
{% for market in markets_all %}
{% set isHaveMarket = market.value in markets|keys %}
{% set isCurrentMarket = market == current_market %}
{% for market in markets %}
{# <h3>{{ market.name }}</h3>#}
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">{{ market.name }}</a>
<li class="nav-item ">
<a class="nav-link {% if isHaveMarket = 0 %}disabled{% endif %} {% if isCurrentMarket %}active{% endif %}" aria-current="page" href="{{ path("app_taxes_dividend_show",{hash:hash_param, market:market.value}) }}">{{ market.name }}</a>
</li>
{% endfor %}
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">All</a>
<a class="nav-link {% if current_market is null %}active{% endif %}" aria-current="page" href="{{ path("app_taxes_dividend_show",{hash:hash_param, market:null}) }}">All</a>
</li>
{# <li class="nav-item">#}