Icon alignment in portlet.

This commit is contained in:
Gaetan Delannay 2010-03-19 13:24:24 +01:00
parent f70af04d4c
commit 1227f0ed5e

View file

@ -922,16 +922,22 @@
<dt class="portletHeader"> <dt class="portletHeader">
<tal:comment replace="nothing">If there is only one flavour, clicking on the portlet <tal:comment replace="nothing">If there is only one flavour, clicking on the portlet
title allows to see all root objects in the database.</tal:comment> title allows to see all root objects in the database.</tal:comment>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<a tal:condition="python: len(flavours)==1" <a tal:condition="python: len(flavours)==1"
tal:attributes="href python:'%s?type_name=%s&flavourNumber=1' % (queryUrl, ','.join(rootClasses))" tal:attributes="href python:'%s?type_name=%s&flavourNumber=1' % (queryUrl, ','.join(rootClasses))"
tal:content="python: tool.translate(appName)"></a> tal:content="python: tool.translate(appName)"></a>
<span tal:condition="python: len(flavours)&gt;1" <span tal:condition="python: len(flavours)&gt;1"
tal:replace="python: tool.translate(appName)"/>&nbsp; tal:replace="python: tool.translate(appName)"/>
</td>
<td align="right">
<img style="cursor:pointer" <img style="cursor:pointer"
tal:condition="python: member.has_role('Manager')" tal:condition="python: member.has_role('Manager')"
tal:attributes="onClick python: 'href: window.location=\'%s/skyn/view\'' % tool.absolute_url(); tal:attributes="onClick python: 'href: window.location=\'%s/skyn/view\'' % tool.absolute_url();
title python: tool.translate('%sTool' % appName); title python: tool.translate('%sTool' % appName);
src string:$portal_url/skyn/appyConfig.gif"/> src string:$portal_url/skyn/appyConfig.gif"/>
</td>
</dt> </dt>
<tal:comment replace="nothing">TODO: implement a widget for selecting the needed flavour.</tal:comment> <tal:comment replace="nothing">TODO: implement a widget for selecting the needed flavour.</tal:comment>