diff --git a/app/templates/about.html b/app/templates/about.html index 2dc506915..0b2eed389 100644 --- a/app/templates/about.html +++ b/app/templates/about.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/change_password.html b/app/templates/auth/change_password.html index 2bec77622..57db80c71 100644 --- a/app/templates/auth/change_password.html +++ b/app/templates/auth/change_password.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html index d636e053e..1764e2d23 100644 --- a/app/templates/auth/login.html +++ b/app/templates/auth/login.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html index 35e6a2abd..3c720079c 100644 --- a/app/templates/auth/register.html +++ b/app/templates/auth/register.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/auth/reset_password.html b/app/templates/auth/reset_password.html index 261e37db0..fdf1215aa 100644 --- a/app/templates/auth/reset_password.html +++ b/app/templates/auth/reset_password.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} @@ -5,7 +6,7 @@
-Login : {{user.user_name}}
-Nom : {{user.nom or ""}}
-Prénom : {{user.prenom or ""}}
-Mail : {{user.email}}
-Roles : {{user.get_roles_string()}}
-Dept : {{user.dept or ""}}
-Dernière modif mot de passe:
-{{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}
-Date d'expiration:
-{{user.date_expiration.isoformat() if user.date_expiration else "(sans limite)"}}
+ Login : {{user.user_name}}
+ Nom : {{user.nom or ""}}
+ Prénom : {{user.prenom or ""}}
+ Mail : {{user.email}}
+ Roles : {{user.get_roles_string()}}
+ Dept : {{user.dept or ""}}
+ Dernière modif mot de passe:
+ {{user.date_modif_passwd.isoformat() if user.date_modif_passwd else ""}}
+ Date d'expiration:
+ {{user.date_expiration.isoformat() if user.date_expiration else "(sans limite)"}}
Se déconnecter: -logout -
+Se déconnecter: + logout +
{% endif %} {# Liste des permissions #} {% if current_user.has_permission(Permission.ScoUsersAdmin, dept) %} diff --git a/app/templates/base.html b/app/templates/base.html index 815ba7b76..adf70171b 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'bootstrap/base.html' %} {% block styles %} diff --git a/app/templates/but/bulletin.html b/app/templates/but/bulletin.html index 27146ed4a..ff0682fce 100644 --- a/app/templates/but/bulletin.html +++ b/app/templates/but/bulletin.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% block styles %} diff --git a/app/templates/but/refcomp_assoc.html b/app/templates/but/refcomp_assoc.html index 1b30d4636..9f8335be2 100644 --- a/app/templates/but/refcomp_assoc.html +++ b/app/templates/but/refcomp_assoc.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/but/refcomp_load.html b/app/templates/but/refcomp_load.html index caac1a5e3..9bf70470b 100644 --- a/app/templates/but/refcomp_load.html +++ b/app/templates/but/refcomp_load.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "base.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/but/refcomp_show.html b/app/templates/but/refcomp_show.html index 07e45543f..fb7357d21 100644 --- a/app/templates/but/refcomp_show.html +++ b/app/templates/but/refcomp_show.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% block app_content %} diff --git a/app/templates/but/refcomp_table.html b/app/templates/but/refcomp_table.html index 2095dc9ff..6c7b05f0c 100644 --- a/app/templates/but/refcomp_table.html +++ b/app/templates/but/refcomp_table.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends "sco_page.html" %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/config_dept.html b/app/templates/config_dept.html index c602c5f32..bb5ed80c1 100644 --- a/app/templates/config_dept.html +++ b/app/templates/config_dept.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% macro render_field(field) %}Oups... ScoDoc version {{SCOVERSION}} a - un problème, désolé.
+Oups... ScoDoc version + {{SCOVERSION}} + a un problème, désolé.
{{date}}
Si le problème persiste, contacter l'administrateur de votre site, diff --git a/app/templates/error_access_denied.html b/app/templates/error_access_denied.html index 5a765b761..516361d5c 100644 --- a/app/templates/error_access_denied.html +++ b/app/templates/error_access_denied.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} diff --git a/app/templates/formsemestre_header.html b/app/templates/formsemestre_header.html index 441a32872..aa8464ef4 100644 --- a/app/templates/formsemestre_header.html +++ b/app/templates/formsemestre_header.html @@ -1,3 +1,4 @@ +{# -*- mode: jinja-html -*- #} {# Description un semestre (barre de menu et infos) #}