From 8ae507b78ae3739e1c70d4e2d6249805fba8b572 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Sat, 21 Feb 2015 20:04:23 +0100 Subject: Fix for W3C --- jm2l/templates/Staff/list.mako | 4 ++-- jm2l/templates/Staff/tasks.mako | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jm2l/templates/Staff/list.mako b/jm2l/templates/Staff/list.mako index 682587f..cd5562b 100644 --- a/jm2l/templates/Staff/list.mako +++ b/jm2l/templates/Staff/list.mako @@ -28,7 +28,7 @@ from slugify import slugify % if Entity.description:
${Entity.description | n}
% endif - +
@@ -49,7 +49,7 @@ from slugify import slugify ${task.name} - ${task.due_date.strftime("%d %b").decode("utf-8")} + ${task.due_date.strftime("%d %b").decode("utf-8")} % endif diff --git a/jm2l/templates/Staff/tasks.mako b/jm2l/templates/Staff/tasks.mako index b871aa2..375d241 100644 --- a/jm2l/templates/Staff/tasks.mako +++ b/jm2l/templates/Staff/tasks.mako @@ -24,8 +24,8 @@ <% DicForm = { 'name': {'PlaceHolder':u"Nom de la tâche", "FieldStyle":"width:90%;" }, - 'area_uid': {'PlaceHolder':u"Pôle", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, - 'closed_by': {'PlaceHolder':u"Assigné à", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, + 'area_uid': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, + 'closed_by': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, 'due_date': {'PlaceHolder':u"27/11/2015", "FieldStyle":"width:8em;"}, 'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:150px;", "ckeditor":"1" }, } @@ -38,7 +38,7 @@ DicForm = {
%endif ${helpers.DisplayForm(form, DicForm)} - +
% if 'uid' in form._fields.keys(): ${helpers.uploader("tasks", form.uid.data, u"une pièce jointe" )} -- cgit v1.2.3-70-g09d2