Fix indent in states of buttons
This commit is contained in:
+6
-6
@@ -408,37 +408,37 @@ this repository contains the full copyright notices and license terms. -->
|
||||
expr="/form/group/button[@name="button_install"]"
|
||||
position="replace">
|
||||
<button string="Mark for Installation" name="button_install"
|
||||
type="object" states="{'invisible': '''state != 'uninstalled' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'uninstalled' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/group/button[@name="button_install_cancel"]"
|
||||
position="replace">
|
||||
<button string="Cancel Installation" name="button_install_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to install' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'to install' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/group/button[@name="button_uninstall"]"
|
||||
position="replace">
|
||||
<button string="Mark for Uninstallation (beta)" name="button_uninstall"
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups or True'''}"/>
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': '''%(res.group_admin)d not in groups or True'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/group/button[@name="button_uninstall_cancel"]"
|
||||
position="replace">
|
||||
<button string="Cancel Uninstallation" name="button_uninstall_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to remove' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'to remove' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/group/button[@name="button_upgrade"]"
|
||||
position="replace">
|
||||
<button string="Mark for Upgrade" name="button_upgrade"
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'installed' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
|
||||
</xpath>
|
||||
<xpath
|
||||
expr="/form/group/button[@name="button_upgrade_cancel"]"
|
||||
position="replace">
|
||||
<button string="Cancel Upgrade" name="button_upgrade_cancel"
|
||||
type="object" states="{'invisible': '''state != 'to upgrade' ''', 'readonly': ''' %(res.group_admin)d not in groups '''}"/>
|
||||
type="object" states="{'invisible': '''state != 'to upgrade' ''', 'readonly': '''%(res.group_admin)d not in groups'''}"/>
|
||||
</xpath>
|
||||
</data>
|
||||
]]>
|
||||
|
||||
Reference in New Issue
Block a user