Browse Source

Rename *.mak to *.mako for consistency

master
piernov 9 years ago
parent
commit
385971456e
5 changed files with 5 additions and 5 deletions
  1. +0
    -0
      jm2l/templates/Errors/404.mako
  2. +0
    -0
      jm2l/templates/Profil/Sejour.mako
  3. +1
    -1
      jm2l/templates/index_profil.mako
  4. +1
    -1
      jm2l/templates/jm2l.mako
  5. +3
    -3
      jm2l/views.py

jm2l/templates/Errors/404.mak → jm2l/templates/Errors/404.mako View File


jm2l/templates/Profil/Sejour.mak → jm2l/templates/Profil/Sejour.mako View File


+ 1
- 1
jm2l/templates/index_profil.mako View File

@@ -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


+ 1
- 1
jm2l/templates/jm2l.mako View File

@@ -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"/>


+ 3
- 3
jm2l/views.py View File

@@ -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)
return render_to_response('jm2l:templates/Errors/404.mako', { "reason":reason },
request=request)

Loading…
Cancel
Save