Skip to content

Commit

Permalink
feat(Besoins): Détail : mieux afficher l'email d'equipe (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Mar 22, 2024
1 parent 666513f commit f090cbc
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions lemarche/templates/tenders/_detail_contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,12 @@ <h2>
{{ tender.contact_company_name_display }}
</div>
{% endif %}
{% if tender.can_display_contact_email or source == "alert" and not tender.response_kind_is_only_external %}
</div>
<div class="row">
{% if tender.can_display_contact_email %}
<div class="col-md-6">
{% if tender.can_display_contact_email %}
<i class="ri-at-line"></i>
{{ tender.contact_email }}
{% endif %}
{% if source == "alert" and not tender.response_kind_is_only_external %}
{% if tender.can_display_contact_email %}<br />{% endif %}
<i class="ri-at-line"></i>
{{ TEAM_CONTACT_EMAIL }}
{% endif %}
<i class="ri-at-line"></i>
{{ tender.contact_email }}
</div>
{% endif %}
{% if tender.can_display_contact_phone %}
Expand All @@ -39,6 +34,12 @@ <h2>
{{ tender.contact_phone }}
</div>
{% endif %}
{% if source == "alert" and not tender.response_kind_is_only_external %}
<div class="col-md-12">
<i class="ri-at-line"></i>
{{ TEAM_CONTACT_EMAIL }}
</div>
{% endif %}
</div>

{% if tender.can_display_contact_external_link %}
Expand Down

0 comments on commit f090cbc

Please sign in to comment.