Commit 10a8a7e2 authored by 's avatar

show [Set View as Default] also with just one sub-object

parent fb57a04a
...@@ -252,14 +252,13 @@ if (document.forms[0]) { ...@@ -252,14 +252,13 @@ if (document.forms[0]) {
</div> </div>
</td> </td>
</tr> </tr>
<dtml-if "_.len(objectItems)>1"> <dtml-if "hasOrderSupport and
<dtml-if "hasOrderSupport and _.SecurityCheckPermission( 'Manage properties', this() )">
_.SecurityCheckPermission( 'Manage properties', this() )">
<tr> <tr>
<td align="left" valign="top" width="16"></td> <td align="left" valign="top" width="16"></td>
<td align="left" valign="top"> <td align="left" valign="top">
<div class="form-element"> <div class="form-element">
<dtml-if expr="skey == 'position'"> <dtml-if expr="skey == 'position' and _.len(objectItems) > 1">
<input class="form-element" type="submit" <input class="form-element" type="submit"
name="manage_move_objects_up:method" value="Up" /> name="manage_move_objects_up:method" value="Up" />
/ /
...@@ -289,7 +288,6 @@ if (document.forms[0]) { ...@@ -289,7 +288,6 @@ if (document.forms[0]) {
</div> </div>
</td> </td>
</tr> </tr>
</dtml-if>
</dtml-if> </dtml-if>
</table> </table>
......
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