minor fixes
This commit is contained in:
@@ -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">#}
|
||||
|
||||
Reference in New Issue
Block a user