-
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.
Siae edit form: basic activity list display
- Loading branch information
Showing
7 changed files
with
91 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{% load static siae_sectors_display %} | ||
|
||
<div class="bg-white d-block rounded-lg shadow-lg p-3 p-lg-5"> | ||
<div class="row"> | ||
<div class="col-12 col-lg-8"> | ||
<p class="h4 lh-sm">{{ activity.sector_group }}</p> | ||
|
||
<ul> | ||
{% siae_sectors_display activity display_max=6 output_format='li' %} | ||
</ul> | ||
|
||
<p class="mb-0"> | ||
<i class="ri-briefcase-4-line mr-1"></i> | ||
<span class="sr-only">Type(s) de prestation :</span> | ||
<span>{{ activity.presta_type_display }}</span> | ||
</p> | ||
<p class="mb-0"> | ||
<i class="ri-map-pin-line"></i> | ||
<span class="sr-only">Situé à {{ activity.location }}</span> | ||
<span>{{ activity.location }}</span> | ||
</p> | ||
</div> | ||
<!-- | ||
<div class="col-12 col-lg-4 text-right"> | ||
<a href="" class="btn btn-outline-primary btn-sm btn-ico" disabled> | ||
<i class="ri-pencil-fill ri-lg"></i> | ||
<span>Modifier</span> | ||
</a> | ||
<br /> | ||
<br /> | ||
<a href="" class="btn btn-outline-secondary btn-sm btn-ico" disabled> | ||
<i class="ri-delete-bin-line ri-lg"></i> | ||
<span>Supprimer</span> | ||
</a> | ||
</div> | ||
</div> | ||
--> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% extends "dashboard/siae_edit_base.html" %} | ||
{% load static bootstrap4 %} | ||
|
||
{% block content_siae_form %} | ||
<div class="row mb-3"> | ||
<div class="col-12"> | ||
<h3>Ajoutez vos secteurs d'activité et recevez des opportunités commerciales ciblées</h3> | ||
</div> | ||
</div> | ||
|
||
{% if siae.activities.count %} | ||
<div class="row mb-3 mb-lg-5"> | ||
{% for activity in siae.activities.all %} | ||
<div class="col-12 col-lg-8"> | ||
{% include "dashboard/_siae_activity_card.html" with activity=activity %} | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% block extra_js %} | ||
{% endblock %} |
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