Ignore:
Timestamp:
9 Jun 2011, 12:27:17 (14 years ago)
Author:
Henrik Bettermann
Message:

Control workflow in views.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_display.pt

    r6254 r6303  
    22    tal:condition="view/label"
    33    tal:content="view/label">Label</h2>
     4
     5<h3>Application Status:
     6  <span tal:replace="view/getApplicationState">Application State</span></h3>
    47
    58<table class="zebra">
     
    1114        </td>
    1215        <td>
    13           <input tal:replace="structure widget" />
     16          <span tal:replace="structure widget" />
    1417        </td>
    1518      </tr>
     
    2023      </td>
    2124      <td>
    22         <input tal:replace="structure view/getCourseAdmitted" />
     25        <span tal:replace="structure view/getCourseAdmitted" />
    2326      </td>
    2427    </tr>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt

    r6204 r6303  
    55    tal:condition="view/label"
    66    tal:content="view/label">Label</h2>
     7
     8  <h3>Application Status:
     9    <span tal:replace="view/getApplicationState">Application State</span></h3>
    710
    811  <div class="form-status"
     
    4952        </tr>
    5053      </tal:block>
     54        <tr tal:condition="view/getTransitions">
     55        <td class="label"><label>Application Transition:</label></td>
     56        <td>
     57            <select id="transition" name="transition">
     58                <option tal:repeat="transition view/getTransitions" tal:attributes="value transition/name">
     59                    <span tal:replace="transition/title">TRANSITIONTITLE
     60                    </span>
     61                </option>
     62            </select>
     63        </td>
     64        </tr>
    5165    </tbody>
    5266  </table>
Note: See TracChangeset for help on using the changeset viewer.