Skip to content

Commit

Permalink
Tender: invert company & sector position
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 11, 2023
1 parent f4e8dbc commit 14e8658
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions lemarche/templates/tenders/_detail_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,25 @@
<div class="col-md-12">
<h1>
{{ tender.title }}
<span class="fs-sm badge badge-base badge-pill badge-emploi float-right"
aria-hidden="true">{{ tender_kind_display|default:tender.get_kind_display }}</span>
<span class="fs-sm badge badge-base badge-pill badge-emploi float-right" aria-hidden="true">{{ tender_kind_display|default:tender.get_kind_display }}</span>
</h1>
</div>
</div>
<div class="row text-bold">
<div class="col" title="Secteurs d'activité : {{ tender.sectors_full_list_string|safe }}">
<i class="ri-award-line"></i>
{{ tender.sectors_list_string|safe }}
</div>
<div class="col" title="Lieu d'intervention">
<i class="ri-map-pin-2-line"></i>
{{ tender.location_display|safe }}
</div>
{% if tender.contact_company_name_display %}
<div class="col" title="Entreprise">
<div class="col-md-4" title="Entreprise">
<i class="ri-building-4-line"></i>
{{ tender.contact_company_name_display }}
</div>
{% endif %}
<div class="col-md-4" title="Lieu d'intervention">
<i class="ri-map-pin-2-line"></i>
{{ tender.location_display|safe }}
</div>
<div class="col-md-4" title="Secteurs d'activité : {{ tender.sectors_full_list_string|safe }}">
<i class="ri-award-line"></i>
{{ tender.sectors_list_string|safe }}
</div>
</div>
{% if not source_form %}
{% if user.is_authenticated %}
Expand Down

0 comments on commit 14e8658

Please sign in to comment.