-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajout de la page de récap d'habilitation #533
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,111 @@ | ||
{% extends 'layouts/main-habilitation.html' %} | ||
{% load static form_extras %} | ||
|
||
{% block title %} | ||
Aidants Connect — Récapitulatif | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h2>Récapitulatif de la demande</h2> | ||
<p> | ||
Vous trouverez ici les informations principales saisies dans le formulaire. | ||
Il est possible de les éditer si besoin. | ||
</p> | ||
|
||
<h3>Informations générales</h3> | ||
|
||
<section> | ||
<h4>Vous êtes :</h4> | ||
|
||
<strong>{{ issuer.get_full_name }}</strong> | ||
<p>{{ issuer.profession }}</p> | ||
|
||
<a href="mailto:{{ issuer.email }}">{{ issuer.email }}</a> | ||
<a href="tel:{{ issuer.phone }}">{{ issuer.phone }}</a> | ||
|
||
<a href="{% url 'habilitation_modify_issuer' issuer_id=issuer.issuer_id %}">Éditer</a> | ||
</section> | ||
|
||
<section> | ||
<h4>Vous faites cette demande pour :</h4> | ||
|
||
<address> | ||
{{ organisation.address }}<br/> | ||
{{ organisation.zipcode }}<br/> | ||
{{ organisation.city }}<br/> | ||
</address> | ||
|
||
<p>SIRET : {{ organisation.siret }}</p> | ||
|
||
<a href="{% url 'habilitation_modify_organisation' issuer_id=issuer.issuer_id draft_id=organisation.draft_id %}"> | ||
Éditer | ||
</a> | ||
</section> | ||
|
||
<section> | ||
<h4>Responsable de structure</h4> | ||
|
||
<strong>{{ organisation.manager.get_full_name }}</strong> | ||
<p>{{ organisation.manager.profession }}</p> | ||
|
||
<a href="mailto:{{ organisation.manager.email }}">{{ organisation.manager.email }}</a> | ||
<a href="tel:{{ organisation.manager.phone }}">{{ organisation.manager.phone }}</a> | ||
|
||
<address> | ||
{{ organisation.manager.address }}<br/> | ||
{{ organisation.manager.zipcode }}<br/> | ||
{{ organisation.manager.city }}<br/> | ||
</address> | ||
|
||
<p>Ce responsable est aussi aidant : {{ organisation.manager.is_aidant|yesno:"Oui,Non" }}</p> | ||
|
||
<a href="{% url 'habilitation_new_aidants' issuer_id=issuer.issuer_id draft_id=organisation.draft_id %}">Éditer</a> | ||
</section> | ||
|
||
{% if organisation.data_privacy_officer %} | ||
<section> | ||
<h4>Délégué à la protection des données</h4> | ||
|
||
<strong>{{ organisation.data_privacy_officer.get_full_name }}</strong> | ||
<p>{{ organisation.data_privacy_officer.profession }}</p> | ||
|
||
<a href="mailto:{{ organisation.data_privacy_officer.email }}">{{ organisation.data_privacy_officer.email }}</a> | ||
<a href="tel:{{ organisation.data_privacy_officer.phone }}">{{ organisation.data_privacy_officer.phone }}</a> | ||
|
||
<a href="{% url 'habilitation_new_aidants' issuer_id=issuer.issuer_id draft_id=organisation.draft_id %}"> | ||
Éditer | ||
</a> | ||
</section> | ||
{% endif %} | ||
|
||
{% for aidant_request in organisation.aidant_requests.all %} | ||
<section> | ||
<h4>Aidant</h4> | ||
|
||
<strong>{{ aidant_request.get_full_name }}</strong> | ||
<p>{{ aidant_request.profession }}</p> | ||
|
||
<a href="mailto:{{ aidant_request.email }}">{{ aidant_request.email }}</a> | ||
<a href="tel:{{ aidant_request.phone }}">{{ aidant_request.phone }}</a> | ||
|
||
<a href="{% url 'habilitation_new_aidants' issuer_id=issuer.issuer_id draft_id=organisation.draft_id %}"> | ||
Éditer | ||
</a> | ||
</section> | ||
{% endfor %} | ||
|
||
<form method="post"> | ||
{% csrf_token %} | ||
{{ form.non_field_errors }} | ||
|
||
{% field_as_p form.cgu %} | ||
{% field_as_p form.dpo %} | ||
{% field_as_p form.professionals_only %} | ||
{% field_as_p form.without_elected %} | ||
|
||
<a href="{% url 'habilitation_validation' issuer_id=issuer.issuer_id draft_id=organisation.draft_id %}"> | ||
Revenir à l’étape précédente | ||
</a> | ||
<input type="submit" value="Soumettre la demande"/> | ||
</form> | ||
{% endblock %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tut-tuuut Alors attention, je viens de me faire avoir : cette méthode marche bien mais elle rend impossible de passer les argument positionnellement.