Ignore:
Timestamp:
3 Feb 2010, 16:13:41 (15 years ago)
Author:
uli
Message:

Allow only mode of pending file when batchprocessing is started with a pending file that provides some mode info in filename.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r4858 r5000  
    6161
    6262    <input type="radio" name="mode" value="create" checked="checked"
    63            tal:attributes="checked python: view.mode == 'create' and 'checked' or ''" /> Create
     63           tal:attributes="checked python: view.mode == 'create' and 'checked' or '';
     64                           disabled python: view.mode != 'create' and view.mode_locked and 'disabled' or ''" /> Create
    6465    &nbsp;&nbsp;
    6566    <input type="radio" name="mode" value="update"
    66            tal:attributes="checked python: view.mode == 'update' and 'checked' or ''" /> Update
     67           tal:attributes="checked python: view.mode == 'update' and 'checked' or '';
     68                           disabled python: view.mode != 'update' and view.mode_locked and 'disabled' or ''" /> Update
    6769    &nbsp;&nbsp;
    6870    <input type="radio" name="mode" value="remove"
    69            tal:attributes="checked python: view.mode == 'remove' and 'checked' or ''" /> Remove
     71           tal:attributes="checked python: view.mode == 'remove' and 'checked' or '';
     72                           disabled python: view.mode != 'remove' and view.mode_locked and 'disabled' or ''" /> Remove
    7073
    7174    <p>&nbsp;</p>
Note: See TracChangeset for help on using the changeset viewer.