From 816257d1efcc3c698cb841f0aabfef0cd0000b40 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Sun, 12 Apr 2015 16:42:36 +0200 Subject: [PATCH] Fix for W3C --- jm2l/templates/Public/Programme.mako | 2 +- jm2l/templates/edit_event.mako | 4 ++-- jm2l/templates/edit_tiers.mako | 4 ++-- jm2l/templates/helpers.mako | 28 ++++++++++++++-------------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/jm2l/templates/Public/Programme.mako b/jm2l/templates/Public/Programme.mako index 20df865..e88f0e0 100644 --- a/jm2l/templates/Public/Programme.mako +++ b/jm2l/templates/Public/Programme.mako @@ -99,7 +99,7 @@ if Counter==0: ##
##
- +
diff --git a/jm2l/templates/edit_event.mako b/jm2l/templates/edit_event.mako index ef5d1d0..1609e51 100644 --- a/jm2l/templates/edit_event.mako +++ b/jm2l/templates/edit_event.mako @@ -80,9 +80,9 @@ DicForm = { ${helpers.DisplayForm(form, DicForm)}
-
+
-
+ diff --git a/jm2l/templates/edit_tiers.mako b/jm2l/templates/edit_tiers.mako index 5da789d..2a4bcc9 100644 --- a/jm2l/templates/edit_tiers.mako +++ b/jm2l/templates/edit_tiers.mako @@ -201,7 +201,7 @@ DicForm = { % endif
-
+
% endif -
+ % if 'uid' in form._fields: diff --git a/jm2l/templates/helpers.mako b/jm2l/templates/helpers.mako index cbe348d..7261ce6 100644 --- a/jm2l/templates/helpers.mako +++ b/jm2l/templates/helpers.mako @@ -207,7 +207,7 @@ TabJs = {'select':[], 'desc':[]}
  • @@ -291,7 +291,7 @@ TabJs = {'select':[], 'desc':[]} @@ -345,7 +345,7 @@ TabJs = {'select':[], 'desc':[]} % if len(ListEvent)==0: - <% num = -1 %> % for entity in request.sponsors(Year): % for thumb in entity.ThumbLinks: <% num+=1 %> - % if (num%3==0): - + % if (num==0): + + % elif (num%3==0): + % endif - <% num = -1 %> % for entity in request.exposants(Year): % for thumb in entity.ThumbLinks: <% num+=1 %> - % if (num%3==0): - + % if (num==0): + + % elif (num%3==0): + % endif
    Date {% if (file.thumbnailUrl) { %} - + {%=file.name%} {% } %}
    - % if NotFoundTitle: + % if NotFoundTitle: ${NotFoundTitle} % else: Désolé, Il n'y a rien dans l'historique. @@ -415,9 +415,9 @@ TabJs = {'select':[], 'desc':[]}
    % if tiers.ThumbLinks: - + ${tiers.slug} % else: - + no-image % endif
    @@ -539,10 +539,8 @@ TabJs = {'select':[], 'desc':[]} % endfor % else:
    -
    -
    +
    Photo ${SallePhy.name} -
    % endif @@ -655,13 +653,14 @@ TabJs = {'select':[], 'desc':[]}
    Sponsors ${Year}
    @@ -679,13 +678,14 @@ TabJs = {'select':[], 'desc':[]} Exposants ${Year}