Ignore:
Timestamp:
30 Nov 2011, 23:13:26 (13 years ago)
Author:
Henrik Bettermann
Message:

Rebuild applicants package (1st part). Applicants now have an applicant_id and a password and can use the regular login page to enter the portal.

Add user_type attribute to SIRPPrincipal objects.

Add some permissions in students package.

Some tests are still missing and will be re-added soon.

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

Legend:

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

    r7200 r7240  
    1111</div>
    1212
     13<img src="" tal:attributes="src view/passport_url" />
     14
    1315<table class="zebra">
    1416  <tbody>
    15     <tr>
    16     <td><img src="" tal:attributes="src view/passport_url" /></td>
    17     </tr>
    1817    <tal:block repeat="widget view/widgets">
    1918      <tr>
     
    3433      </td>
    3534    </tr>
     35    <tr>
     36      <td class="fieldname">
     37          Password:
     38      </td>
     39      <td>
     40          <tal:password replace="view/hasPassword" />
     41      </td>
     42    <tr>
    3643  </tbody>
    3744</table>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt

    r7200 r7240  
    2323  </div>
    2424
    25   <table class="form-fields zebra">
     25  <table class="zebra">
    2626    <tbody>
    2727      <tal:block repeat="widget view/widgets">
     
    6262      </tr>
    6363      <tr tal:condition="view/manage_applications">
     64        <td class="label"><label>Password:</label></td>
     65        <td>
     66          <input name="password" type="password"  />
     67        </td>
     68      </tr>
     69      <tr tal:condition="view/manage_applications">
     70        <td class="label"><label>Retype password:</label></td>
     71        <td>
     72          <input name="control_password" type="password" />
     73        </td>
     74      </tr>
     75      <tr tal:condition="view/manage_applications">
    6476        <td class="label"><label>Application Transition:</label></td>
    6577        <td>
Note: See TracChangeset for help on using the changeset viewer.