From 8cdf3042650ad85a007a055aa264bbac3271a1e7 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Sun, 15 Feb 2015 18:42:15 +0100 Subject: Fix Staff part when description missing --- jm2l/templates/Staff/list.mako | 3 ++- jm2l/templates/helpers.mako | 39 --------------------------------------- 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/jm2l/templates/Staff/list.mako b/jm2l/templates/Staff/list.mako index b2cbe5d..682587f 100644 --- a/jm2l/templates/Staff/list.mako +++ b/jm2l/templates/Staff/list.mako @@ -25,8 +25,9 @@ from slugify import slugify Editer le pôle

${Entity.name}

+ % if Entity.description:
${Entity.description | n}
- + % endif diff --git a/jm2l/templates/helpers.mako b/jm2l/templates/helpers.mako index b1409b8..629d094 100644 --- a/jm2l/templates/helpers.mako +++ b/jm2l/templates/helpers.mako @@ -244,45 +244,6 @@ TabJs = {'select':[], 'desc':[]} {% } %} -%if 1: -## -## -plop -% else: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -% endif \ ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ## Wrapper pour les intervention utilisateur -- cgit v1.2.3-70-g09d2