Merge pull request #313 from openclassify/dia

#900 [sahibinden-theme] duplicate phone numbers
This commit is contained in:
Fatih Alp 2020-02-13 09:45:22 +03:00 committed by GitHub
commit 44b3f869a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +1,27 @@
{% set profile = findUserProfile(params.adv.created_by_id) %} {% if params.showTheme %}
{% if profile.gsm_phone is not null %} {% set profile = findUserProfile(params.adv.created_by_id) %}
<div class="col-md-12 m-2 number-container"> {% if profile.gsm_phone is not null %}
<button class="btn btn-secondary w-100"> <div class="col-md-12 m-2 number-container">
<i class="fas fa-mobile hide-number text-warning"></i> <button class="btn btn-secondary w-100">
<span class="hide-number">{{ profile.gsm_phone }}</span> <i class="fas fa-mobile hide-number text-warning"></i>
</button> <span class="hide-number">{{ profile.gsm_phone }}</span>
</div> </button>
{% endif %} </div>
{% if profile.office_phone is not empty %} {% endif %}
<div class="col-md-12 m-2 number-container"> {% if profile.office_phone is not empty %}
<button class="btn btn-secondary w-100"> <div class="col-md-12 m-2 number-container">
<i class="fas fa-headset hide-number text-warning"></i> <button class="btn btn-secondary w-100">
<span class="hide-number">{{ profile.office_phone }}</span> <i class="fas fa-headset hide-number text-warning"></i>
</button> <span class="hide-number">{{ profile.office_phone }}</span>
</div> </button>
{% endif %} </div>
{% if profile.land_phone is not empty %} {% endif %}
<div class="col-md-12 m-2 number-container"> {% if profile.land_phone is not empty %}
<button class="btn btn-secondary w-100"> <div class="col-md-12 m-2 number-container">
<i class="fa fa-phone-square hide-number text-warning"></i> <button class="btn btn-secondary w-100">
<span class="hide-number">{{ profile.land_phone }}</span> <i class="fa fa-phone-square hide-number text-warning"></i>
</button> <span class="hide-number">{{ profile.land_phone }}</span>
</div> </button>
</div>
{% endif %}
{% endif %} {% endif %}