Sfoglia il codice sorgente

Rename *.mak to *.mako for consistency

master
piernov 9 anni fa
parent
commit
385971456e
5 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  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 Vedi File


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


+ 1
- 1
jm2l/templates/index_profil.mako Vedi 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 Vedi 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 Vedi 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)

||||||
x
 
000:0
Caricamento…
Annulla
Salva