give portlets an id so that their position an layout may be easily customized

This commit is contained in:
Helmut Merz 2013-07-04 08:50:58 +02:00
parent cc6e1a5f3e
commit b35dc861cb

View file

@ -53,7 +53,8 @@
<metal:portlet define-macro="portlet">
<div class="box"
tal:define="icon macro/icon|nothing;
url macro/url|nothing">
url macro/url|nothing"
tal:attributes="id string:portlet_${macro/identifier}">
<h4>
<a tal:omit-tag="not:url"
tal:attributes="href url"