Commit b2994386 authored by Fabien Morin's avatar Fabien Morin

add new css class to be able to distinguish first page from other ones and and...

add new css class to be able to distinguish first page from other ones and and have a different display.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19135 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55794db8
......@@ -107,8 +107,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
alt="background"\n
class="page_0_background"\n
tal:attributes="src string:${object_name}_background_${pagenum};\n
class string:page_${pagenum}_background"\n
/><span tal:replace="nothing" >\n
class python:\'page_%s_background %s\' % \n
(pagenum, test(pagenum == 0,\'first_page\', \'other_page\'))"/>\n
<span tal:replace="nothing" >\n
page is not empty (there is at least one element) \n
considering class = \'page_\' + pagenum\n
</span>\n
......@@ -309,7 +310,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</tal:block>\n
</tal:block>\n
</tal:block>\n
</tal:block>
</tal:block>\n
]]></string> </value>
</item>
......
9
\ No newline at end of file
15
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment