Bladeren bron

Rename *.mak to *.mako for consistency

master
piernov 9 jaren geleden
bovenliggende
commit
385971456e
5 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  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 Bestand weergeven


jm2l/templates/Profil/Sejour.mak → jm2l/templates/Profil/Sejour.mako Bestand weergeven


+ 1
- 1
jm2l/templates/index_profil.mako Bestand weergeven

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

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

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

Laden…
Annuleren
Opslaan