0001-homepage-handle-category-description-as-html-if-it-s.patch
| extra/modules/root.ptl | ||
|---|---|---|
|
category.name
|
||
|
'</a></strong>\n'
|
||
|
if category.description:
|
||
|
'<p>'
|
||
|
category.description
|
||
|
'</p>'
|
||
|
if category.description[0] == '<':
|
||
|
htmltext(category.description)
|
||
|
else:
|
||
|
'<p>'
|
||
|
category.description
|
||
|
'</p>'
|
||
|
'<ul>'
|
||
|
limit = category.get_limit()
|
||
|
for formdef in formdefs[:limit]:
|
||
| ... | ... | |
|
'<div id="consultations">'
|
||
|
'<h3>%s</h3>' % _('Consultations')
|
||
|
if consultations_category.description:
|
||
|
'<p>'
|
||
|
consultations_category.description
|
||
|
'</p>'
|
||
|
if consultations_category.description[0] == '<':
|
||
|
htmltext(consultations_category.description)
|
||
|
else:
|
||
|
'<p>'
|
||
|
consultations_category.description
|
||
|
'</p>'
|
||
|
'<ul>'
|
||
|
for formdef in formdefs:
|
||
|
'<li>'
|
||