-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Affichage des dépôts de besoins de type sourcing et anonyme côté util…
…isateur (#961) * add field to get be anonymous on tender published * display response_is_anonymous only if tender is a Project * external link is required if tender is tender kind * make tests * fix migration * fix migration * add field to get be anonymous on tender published * update messages for anonymous tenders * manage anonymous consultations * remove siae_has_detail_contact_click_date * fix bug for test environnement * fix migration
- Loading branch information
1 parent
3ecee18
commit d375910
Showing
8 changed files
with
105 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% if tender.is_draft %} | ||
<div class="alert alert-warning fade show" role="status"> | ||
<div class="row"> | ||
<div class="col-auto pr-0"> | ||
<i class="ri-information-line ri-xl text-warning"></i> | ||
</div> | ||
<div class="col"> | ||
<p class="mb-0">Votre {{ tender_kind_display|default:tender.get_kind_display }} est encore en brouillon. Modifiez-le pour le publier.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="{% url 'tenders:update' tender.slug %}" class="btn btn-primary btn-ico"> | ||
<i class="ri-pencil-fill ri-lg font-weight-normal" aria-hidden="true"></i> | ||
<span>Modifier</span> | ||
</a> | ||
{% endif %} | ||
{% if tender.is_pending_validation %} | ||
<div class="alert alert-info fade show" role="status"> | ||
<div class="row"> | ||
<div class="col-auto pr-0"> | ||
<i class="ri-information-line ri-xl text-info"></i> | ||
</div> | ||
<div class="col"> | ||
<p class="mb-0">Votre {{ tender_kind_display|default:tender.get_kind_display }} est en cours de validation.</p> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% if tender.is_validated %} | ||
<div class="alert alert-success fade show" role="status"> | ||
<div class="row"> | ||
<div class="col-auto pr-0"> | ||
<i class="ri-checkbox-circle ri-xl text-info"></i> | ||
</div> | ||
<div class="col"> | ||
<p class="mb-0">Votre {{ tender_kind_display|default:tender.get_kind_display }} est validé et envoyé !</p> | ||
</div> | ||
</div> | ||
</div> | ||
<a href="{% url 'tenders:detail-siae-list' tender.slug %}" id="show-tender-siae-list-from-detail-btn" class="btn btn-primary mb-3"> | ||
<i class="ri-focus-2-line"></i> | ||
{{ tender.siae_email_send_date_count }} prestataire{{ tender.siae_email_send_date_count|pluralize }} ciblé{{ tender.siae_email_send_date_count|pluralize }} | ||
</a> | ||
<a href="{% url 'tenders:detail-siae-list' tender.slug "VIEWED" %}" id="show-tender-siae-list-from-detail-btn" class="btn btn-primary mb-3"> | ||
<i class="ri-focus-2-line"></i> | ||
{{ tender.siae_email_link_click_date_or_detail_display_date_count }} prestataire{{ tender.siae_email_link_click_date_or_detail_display_date_count|pluralize }} qui {{ tender.siae_email_link_click_date_or_detail_display_date_count|pluralize:'a,ont' }} vu | ||
</a> | ||
<a href="{% url 'tenders:detail-siae-list' tender.slug "INTERESTED" %}" id="show-tender-siae-interested-list-from-detail-btn" class="btn btn-primary mb-3"> | ||
<i class="ri-thumb-up-line"></i> | ||
{{ tender.siae_detail_contact_click_date_count }} prestataire{{ tender.siae_detail_contact_click_date_count|pluralize }} intéressé{{ tender.siae_detail_contact_click_date_count|pluralize }} | ||
</a> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="card c-card rounded-lg shadow-lg"> | ||
<div class="card-body"> | ||
<h3>Votre intérêt a été signalé au client</h3> | ||
|
||
<p>S’il est intéressé, il vous recontactera via vos coordonnées de contact présentes sur votre fiche commerciale (<a href="{% url 'dashboard:home' %}">Vérifier votre fiche</a>).</p> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters