diff --git a/jm2l/__init__.py b/jm2l/__init__.py
index a55bdb8..3dfb885 100644
--- a/jm2l/__init__.py
+++ b/jm2l/__init__.py
@@ -168,6 +168,7 @@ def main(global_config, **settings):
# HTML Routes - Logged
#config.add_route('profil', 'MesJM2L')
config.add_route('jm2l', '/MesJM2L')
+ config.add_route('drop_sejour', '/DropSejour')
config.add_route('miam', '/MonMiam')
config.add_route('sejour', '/MonSejour')
config.add_route('orga', '/MonOrga')
diff --git a/jm2l/static/img/warn.png b/jm2l/static/img/warn.png
new file mode 100644
index 0000000..57b503e
Binary files /dev/null and b/jm2l/static/img/warn.png differ
diff --git a/jm2l/templates/Logistique/Tables.mako b/jm2l/templates/Logistique/Tables.mako
index dae749e..2efb9f8 100644
--- a/jm2l/templates/Logistique/Tables.mako
+++ b/jm2l/templates/Logistique/Tables.mako
@@ -66,7 +66,7 @@ elif Type=='M':
% elif getattr(item, Me)==request.user.uid and item.exch_state==CurKind:
Je ${What}
@@ -79,7 +79,7 @@ elif Type=='M':
Accepter
Refuser
- Supprimer
+ Supprimer
% elif getattr(item, Me)==request.user.uid:
Je ${What}
diff --git a/jm2l/templates/Profil/Profil.mako b/jm2l/templates/Profil/Profil.mako
index ace6ab1..754ab08 100644
--- a/jm2l/templates/Profil/Profil.mako
+++ b/jm2l/templates/Profil/Profil.mako
@@ -128,9 +128,9 @@ ${helpers.DisplayRespForm(profil_form, DicFormB)}
value="" />
-
+
Suppr.
-
+
|
% for num, dicdata in enumerate(profil_form._fields.get("tiersship").data):
@@ -158,9 +158,9 @@ ${helpers.DisplayRespForm(profil_form, DicFormB)}
value="${dicdata.get('role')}" />
-
+
Suppr.
-
+
|
% endfor
diff --git a/jm2l/templates/Profil/Sejour.mako b/jm2l/templates/Profil/Sejour.mako
index 18d0d90..67520ed 100644
--- a/jm2l/templates/Profil/Sejour.mako
+++ b/jm2l/templates/Profil/Sejour.mako
@@ -4,6 +4,21 @@ fieldset:disabled {
color:#CCC;
}
+ % if mytrip.Sejour:
+
+
Ooops !! J'ai rendez-vous pour un poney-piscine...
+
+
J'annule ma venue en ${CurrentYear}.
+
+
+ % else:
+
+ Complétez et validez vite ce formulaire !
+ % endif
+