aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/Staff/list.mako
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2015-03-01 03:05:46 +0100
committerpiernov <piernov@piernov.org>2015-03-01 03:05:46 +0100
commit85c3f9068fae9c153edcff6579fd6e50f051b1d9 (patch)
tree914ed798b58ea8a4751373956c9bab0d495367fa /jm2l/templates/Staff/list.mako
parent3bef68914eeda2605ea1fbf7cad2d99ed3cbfb79 (diff)
downloadjm2l-85c3f9068fae9c153edcff6579fd6e50f051b1d9.tar.gz
jm2l-85c3f9068fae9c153edcff6579fd6e50f051b1d9.tar.bz2
jm2l-85c3f9068fae9c153edcff6579fd6e50f051b1d9.tar.xz
jm2l-85c3f9068fae9c153edcff6579fd6e50f051b1d9.zip
"Retour à la liste" link now goes back to the previous area + current area now being selected when creating new task
Diffstat (limited to 'jm2l/templates/Staff/list.mako')
-rw-r--r--jm2l/templates/Staff/list.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/jm2l/templates/Staff/list.mako b/jm2l/templates/Staff/list.mako
index a7abbf9..fbee9e5 100644
--- a/jm2l/templates/Staff/list.mako
+++ b/jm2l/templates/Staff/list.mako
@@ -32,7 +32,7 @@ from slugify import slugify
<thead>
<tr>
<th colspan="2" style="text-align:center;">
- <a style="float:right;" class="btn btn-mini btn-info" role="button" href="/Staff/tasks">
+ <a style="float:right;" class="btn btn-mini btn-info" role="button" href="${request.route_path('handle_task', sep="", task_id="", _query={"pole_id":Entity.uid})}">
<i class="icon-plus-sign icon-white"></i> Ajouter une tâche
</a>
Liste des tâches
@@ -95,4 +95,4 @@ from slugify import slugify
$('a[href="' + location.hash + '"]').tab('show');
}
</script>
-</%def> \ No newline at end of file
+</%def>