Skip to content

Commit

Permalink
prolongation: add new approval box in declare_prolongation process
Browse files Browse the repository at this point in the history
  • Loading branch information
xavfernandez committed Oct 3, 2024
1 parent 4bb26a0 commit c10735e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions itou/templates/approvals/declare_prolongation.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ <h1>
<section class="s-section">
<div class="s-section__container container">
<div class="row">
<div class="col-12 col-lg-8">
<div class="col-12 col-lg-8 order-2 order-lg-1">
{% if not preview %}
{# Edit mode. #}
<div class="c-box mb-4">
{% include "approvals/includes/status.html" with common_approval=approval hiring_pending=False %}
</div>
<div class="c-box my-4">{% include "approvals/includes/prolongation_declaration_form.html" %}</div>
<div class="c-box">{% include "approvals/includes/prolongation_declaration_form.html" %}</div>
{% else %}
{# Preview mode: ask for confirmation before committing to DB. #}

Expand All @@ -36,7 +33,7 @@ <h1>
{% endfor %}

{# Show the user a preview of the prolongation. #}
<div class="card my-3">
<div class="card">
<div class="card-body">
<h5 class="h4 card-title">
Vous êtes sur le point de déclarer une prolongation de PASS IAE pour la raison suivante :
Expand Down Expand Up @@ -87,6 +84,9 @@ <h5 class="h4 card-title">
</form>
{% endif %}
</div>
<div class="col-12 col-lg-4 order-1 order-lg-2">
{% include "approvals/includes/box.html" with approval=approval only %}
</div>
</div>
</div>
</section>
Expand Down

0 comments on commit c10735e

Please sign in to comment.