{% if not profile.telno %}{% else %}{% trans %} Tel {% endtrans %}{% if type == 'FL' %} {% set loop = 1 %}{% else %} {% set loop = profile._format.telno|length %}{% endif %}{% for i in 1..loop %} {{ '<br>' }} {% endfor %}{% endif %}
{% if not profile.fax %}{% else %}{% trans %} Fax {% endtrans %}{% if type == 'FL' %} {% set loop = 1 %}{% else %} {% set loop = profile._format.fax|length %}{% endif %}{% for i in 1..loop %} {{ '<br>' }} {% endfor %}{% endif %}
{% if not profile.email %}{% else %}{% trans %} Email {% endtrans %} {% set loop = profile.email|split(',') %}{% for i in 1..loop|length %} {{ '<br>' }} {% endfor %} {% endif %}
{% if not profile.websit %}{% else %}{% trans %} Website {% endtrans %} {% set loop = profile.websit|split(',') %}{% for i in 1..loop|length %} {{ '<br>' }} {% endfor %} {% endif %}
{% if not profile.workinghours %}{% else %}{% trans %} Work-Time {% endtrans %}{% endif %}
</div>
<div class="col-xs-8 col-sm-9 col-lg-9">
{% if not profile.telno %}
{% else %}
{% if type == 'FL' %}
<span>{{ profile._format.telno.0 }}</span><br>
{% else %}
{% for key, tel in profile._format.telno %}
{% if loop.last != key+1 %}<a href="tel:{{ tel }}">{{ tel }}</a>{{ " ,<br>" }}
{% else %}<a href="tel:{{ tel }}">{{ tel }}</a>{% endif %}
<div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
{% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
{#{% if profile.picturet1 %}<li class="active"><a data-toggle="tab" href="#home">{% trans %} Picture {% endtrans %}</a></li>{% endif %}#}
{% if promotion.promotionid %}<li class="active" ><a data-toggle="tab" href="#menu1">{% trans %} Promotion {% endtrans %}</a></li>{% endif %}
{% if profile.location.lat %}<li {% if not promotion.promotionid %} {{ 'class="active"' }} {% endif %}><a data-toggle="tab" href="#menu2">{% trans %} Digital Map {% endtrans %}</a></li>{% endif %}
{% if profile.printadst %}<li {% if not promotion.promotionid and not profile.location.lat %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu3">{% trans %} Advertisement {% endtrans %}</a></li>{% endif %}
{#{% if profile.map %}<li {% if not profile.location.lat and not profile.printadst and not profile.promotion and not profile.onlinepromotion %}{{ 'class="active"' }}{% endif %}><a data-toggle="tab" href="#menu4">{% trans %} Map Picture {% endtrans %}</a></li>{% endif %}#}
</ul>
<div class="tab-content">
{#{% if profile.picturet1 %}#}
{#<div id="home" class="tab-pane fade in active">#}
<div {% if promotion.promoimg and not promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"
{% elseif promotion.promoimg and promotion.promoimg2 and not promotion.promoimg3 %} class="col-xs-4 col-md-4 col-lg-4 col-xs-offset-4 col-md-offset-4 col-lg-offset-4"