- {% if not profile.picturet1 %}{% else %}<li class="active"><a data-toggle="tab" href="#home">{% trans %} Picture {% endtrans %}</a></li>{% endif %}
- {% if not profile.promotion %}{% else %}<li {% if not profile.picturet1 %}{{ " class='active'" }}{% endif %}><a data-toggle="tab" href="#menu3">{% trans %} Promotion {% endtrans %}</a></li>{% endif %}
- {% if not profile.map %}{% else %}<li><a data-toggle="tab" href="#menu4">{% trans %} Map Picture {% endtrans %}</a></li>{% endif %}
- {% if not profile.location.lat %}{% else %}<li><a data-toggle="tab" href="#menu1">{% trans %} Digital Map {% endtrans %}</a></li>{% endif %}
- {#{% if not profile.location.lat %}{% else %}<li><a data-toggle="tab" href="#menu5">{% trans %} Front View {% endtrans %}</a></li>{% endif %}#}
- {#{% if not profile.location.lat %}{% else %}<li><a data-toggle="tab" href="#menu6">{% trans %} VDO {% endtrans %}</a></li>{% endif %}#}
- {#{% if not profile.location.lat %}{% else %}<li><a data-toggle="tab" href="#menu7">{% trans %} Voice {% endtrans %}</a></li>{% endif %}#}
- {% if not profile.printads %}{% else %}<li><a data-toggle="tab" href="#menu2">{% trans %} Advertisement {% endtrans %}</a></li>{% endif %}
+ {% if profile.picturet1 %}<li class="active"><a data-toggle="tab" href="#home">{% trans %} Picture {% endtrans %}</a></li>{% endif %}
+ {% if profile.location.lat %}<li {% if not profile.picturet1 %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu1">{% trans %} Digital Map {% endtrans %}</a></li>{% endif %}
+ {% if profile.printadst %}<li {% if not profile.location.lat %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu2">{% trans %} Advertisement {% endtrans %}</a></li>{% endif %}
+ {% if profile.promotion %}<li {% if not profile.printadst %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu3">{% trans %} Promotion {% endtrans %}</a></li>{% endif %}
+ {% if profile.map %}<li {% if not profile.promotion %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu4">{% trans %} Map Picture {% endtrans %}</a></li>{% endif %}