diff options
-rw-r--r-- | jm2l/templates/Errors/404.mako (renamed from jm2l/templates/Errors/404.mak) | 0 | ||||
-rw-r--r-- | jm2l/templates/Profil/Sejour.mako (renamed from jm2l/templates/Profil/Sejour.mak) | 0 | ||||
-rw-r--r-- | jm2l/templates/index_profil.mako | 2 | ||||
-rw-r--r-- | jm2l/templates/jm2l.mako | 2 | ||||
-rw-r--r-- | jm2l/views.py | 6 |
5 files changed, 5 insertions, 5 deletions
diff --git a/jm2l/templates/Errors/404.mak b/jm2l/templates/Errors/404.mako index 6379cd4..6379cd4 100644 --- a/jm2l/templates/Errors/404.mak +++ b/jm2l/templates/Errors/404.mako diff --git a/jm2l/templates/Profil/Sejour.mak b/jm2l/templates/Profil/Sejour.mako index 3fcd647..3fcd647 100644 --- a/jm2l/templates/Profil/Sejour.mak +++ b/jm2l/templates/Profil/Sejour.mako diff --git a/jm2l/templates/index_profil.mako b/jm2l/templates/index_profil.mako index 6e0f27c..87667a4 100644 --- a/jm2l/templates/index_profil.mako +++ b/jm2l/templates/index_profil.mako @@ -1,6 +1,6 @@ <%inherit file="jm2l:templates/layout.mako"/> <%namespace name="profil" file="jm2l:templates/Profil/Profil.mako"/> -<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mak"/> +<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mako"/> <%namespace name="intendance" file="jm2l:templates/Logistique/Logistique.mako"/> <% from pyramid.security import authenticated_userid diff --git a/jm2l/templates/jm2l.mako b/jm2l/templates/jm2l.mako index fc2043b..7ee2700 100644 --- a/jm2l/templates/jm2l.mako +++ b/jm2l/templates/jm2l.mako @@ -1,6 +1,6 @@ <%inherit file="jm2l:templates/layout.mako"/> <%namespace name="profil" file="jm2l:templates/Profil/Profil.mako"/> -<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mak"/> +<%namespace name="sejour" file="jm2l:templates/Profil/Sejour.mako"/> <%namespace name="intendance" file="jm2l:templates/Logistique/Logistique.mako"/> <%namespace name="intervention" file="jm2l:templates/Interventions/Interventions.mako"/> <%namespace name="h" file="jm2l:templates/helpers.mako"/> diff --git a/jm2l/views.py b/jm2l/views.py index d11372c..e3485ae 100644 --- a/jm2l/views.py +++ b/jm2l/views.py @@ -1058,7 +1058,7 @@ def link_role_entity(request): @notfound_view_config() def notfound(reason, request): request.response.status = 404 - return render_to_response('jm2l:templates/Errors/404.mak', { "reason":reason }, + return render_to_response('jm2l:templates/Errors/404.mako', { "reason":reason }, request=request) @@ -1066,5 +1066,5 @@ def notfound(reason, request): def forbidden(reason, request): #return Response('forbidden') request.response.status = 404 - return render_to_response('jm2l:templates/Errors/404.mak', { "reason":reason }, - request=request)
\ No newline at end of file + return render_to_response('jm2l:templates/Errors/404.mako', { "reason":reason }, + request=request) |