Changeset 3986

Show
Ignore:
Timestamp:
07/07/08 17:54:55 (6 months ago)
Author:
k0s
Message:

add some remove and add buttons; again, there is no submit handling so this is all for show as of yet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ticketsubmitpolicyplugin/0.11/ticketsubmitpolicy/templates/ticketsubmitpolicy.html

    r3985 r3986  
    1818         
    1919          <table> 
    20             <tr py:for="condition in policies[name]['condition']"> 
     20            <tr py:for="index, condition in enumerate(policies[name]['condition'])"> 
    2121               
    2222              <td class="field"> 
     
    4646                <input type="text" value="${condition['value']}"/> 
    4747              </td> 
     48 
     49              <td class="actions"> 
     50                <input type="submit" name="rm_condition_${index}" value="-"/> 
     51              </td> 
    4852            </tr> 
    4953          </table> 
     54          <input type="submit" name="add_condition}" value="+"/> 
    5055      </div> 
    5156 
     
    6873            </py:for> 
    6974          </td> 
     75          <td class="actions"> 
     76            <input type="submit" name="rm_policy_${action['name']}" value="-"/> 
     77          </td> 
    7078        </tr> 
    7179      </div>