Commit 9183e41e80c5d2e252aa62da820e72c5c39a3fad

Authored by hitier
1 parent 335db4c0

Change add charge route

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
app/main/routes.py
... ... @@ -57,6 +57,6 @@ def periods():
57 57 return render_template('periods.html', subtitle="Liste des périodes ({})".format(num_periods),
58 58 periods=all_periods)
59 59  
60   -@bp.route('/add_charge')
61   -def add_charge():
  60 +@bp.route('/charge/add')
  61 +def charge_add():
62 62 return render_template('charge.html', subtitle="Affecter un agent")
63 63 \ No newline at end of file
... ...
app/templates/base_page.html
... ... @@ -79,7 +79,7 @@
79 79 </a>
80 80 <ul aria-expanded="false" class="collapse" id="cds">
81 81 <li><a class=" disabled" href="#">Renseigner le statut d'un agent pour un semestre</a></li>
82   - <li><a class=" " href="{{url_for('main.add_charge')}}">Affecter un agent à un projet/service</a></li>
  82 + <li><a class=" " href="{{url_for('main.charge_add')}}">Affecter un agent à un projet/service</a></li>
83 83 <li><a class=" disabled" href="#">Création agent virtuel</a></li>
84 84 <li><a class=" disabled" href="#">Charge totale des agents</a></li>
85 85 <li><a class=" disabled" href="#">Détails des charges</a></li>
... ...