[gen] Bugfixes.

This commit is contained in:
Gaetan Delannay 2014-02-27 12:54:05 +01:00
parent c002b5cb59
commit fe56ee27a0
10 changed files with 19 additions and 18 deletions

View file

@ -441,7 +441,7 @@ class ToolWrapper(AbstractWrapper):
if="zobjects and fields" align=":dright">
<tr>
<td var="zobj=zobjects[0]; obj=zobj.appy()"
for="field in fields">:field.pxView</td>
for="field in fields">:field.pxRender</td>
</tr>
</table>

View file

@ -33,7 +33,7 @@ class TranslationWrapper(AbstractWrapper):
sourceMsg = sourceMsg.replace('<','&lt;').replace('>','&gt;')
sourceMsg = sourceMsg.replace('\n', '<br/>')
return '<div class="translationLabel"><acronym title="%s" ' \
'style="margin-right: 5px"><img src="help.png"/></acronym>' \
'style="margin-right: 5px"><img src="/ui/help.png"/></acronym>' \
'%s</div>' % (fieldName, sourceMsg)
def show(self, field):

View file

@ -189,7 +189,7 @@ class AbstractWrapper(object):
</tr>
<!-- The user strip -->
<tr height="28px">
<tr height=":discreetLogin and '5px' or '28px'">
<td>
<table class="userStrip">
<tr>