appy.gen: minor bufgixes.
This commit is contained in:
parent
7d605d1fbb
commit
91d3887847
|
@ -1898,6 +1898,7 @@ class Ref(Type):
|
||||||
self.back.unlinkObject(tool.getObject(refs[i]), obj)
|
self.back.unlinkObject(tool.getObject(refs[i]), obj)
|
||||||
i -= 1
|
i -= 1
|
||||||
# Link new objects
|
# Link new objects
|
||||||
|
if objects:
|
||||||
self.linkObject(obj, objects)
|
self.linkObject(obj, objects)
|
||||||
|
|
||||||
def clone(self, forTool=True):
|
def clone(self, forTool=True):
|
||||||
|
|
|
@ -58,7 +58,7 @@ img {border: 0}
|
||||||
margin: 0.4em 0 0.2em 0; }
|
margin: 0.4em 0 0.2em 0; }
|
||||||
.phase { border-style: dashed; border-width: thin; padding: 0 0.6em 5px 1em;}
|
.phase { border-style: dashed; border-width: thin; padding: 0 0.6em 5px 1em;}
|
||||||
.phaseSelected { background-color: #F4F5F6; }
|
.phaseSelected { background-color: #F4F5F6; }
|
||||||
.content { padding: 14px 3px 9px 15px;}
|
.content { padding: 14px 14px 9px 15px;}
|
||||||
.grey { display: none; position: absolute; left: 0px; top: 0px;
|
.grey { display: none; position: absolute; left: 0px; top: 0px;
|
||||||
background:grey; opacity:0.5; -moz-opacity:0.5; -khtml-opacity:0.5;
|
background:grey; opacity:0.5; -moz-opacity:0.5; -khtml-opacity:0.5;
|
||||||
filter:alpha(Opacity=50);}
|
filter:alpha(Opacity=50);}
|
||||||
|
@ -81,8 +81,9 @@ img {border: 0}
|
||||||
border-top: 1px solid #8CACBB;border-bottom: 1px solid #8CACBB; }
|
border-top: 1px solid #8CACBB;border-bottom: 1px solid #8CACBB; }
|
||||||
.section2 { font-size: 110%; font-style: italic; margin: 0.45em 0em 0.2em 0;
|
.section2 { font-size: 110%; font-style: italic; margin: 0.45em 0em 0.2em 0;
|
||||||
border-bottom: 2px solid grey; }
|
border-bottom: 2px solid grey; }
|
||||||
.section3 { font-size: 100%; font-style: italic; margin: 0.45em 0em 0.1em 0;
|
.section3 { font-size: 100%; font-style: italic; font-weight: bold;
|
||||||
background-color: #F4F5F6; text-align: center; color: grey; }
|
margin: 0.45em 0em 0.1em 0; background-color: #F4F5F6;
|
||||||
|
text-align: center; color: grey; }
|
||||||
.odd { background-color: white; }
|
.odd { background-color: white; }
|
||||||
.even { background-color: #F4F5F6; }
|
.even { background-color: #F4F5F6; }
|
||||||
.summary {margin-bottom: 5px;}
|
.summary {margin-bottom: 5px;}
|
||||||
|
|
|
@ -241,7 +241,7 @@
|
||||||
<select tal:attributes="name name;
|
<select tal:attributes="name name;
|
||||||
size python: test(isMultiple, widget['height'], '');
|
size python: test(isMultiple, widget['height'], '');
|
||||||
multiple python: test(isMultiple, 'multiple', '')">
|
multiple python: test(isMultiple, 'multiple', '')">
|
||||||
<option tal:condition="not: isMultiple" tal:content="python: _('choose_a_value')"></option>
|
<option value="" tal:condition="not: isMultiple" tal:content="python: _('choose_a_value')"></option>
|
||||||
<tal:ref repeat="refObj allObjects">
|
<tal:ref repeat="refObj allObjects">
|
||||||
<option tal:define="uid python: contextObj.getReferenceUid(refObj)"
|
<option tal:define="uid python: contextObj.getReferenceUid(refObj)"
|
||||||
tal:content="python: contextObj.getReferenceLabel(name, refObj)"
|
tal:content="python: contextObj.getReferenceLabel(name, refObj)"
|
||||||
|
|
Loading…
Reference in a new issue