Ignore:
Timestamp:
27 Feb 2012, 16:14:12 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup work in progress

File:
1 edited

Legend:

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

    r7464 r7710  
    1 <form action="." tal:attributes="action request/URL" method="POST"  enctype="multipart/form-data">
     1<form action="." tal:attributes="action request/URL"
     2  i18n:domain="waeup.sirp" method="POST"  enctype="multipart/form-data">
    23  <ul class="tabs" data-tabs="tabs">
    34    <li class="active">
     
    89    <li>
    910    <a href="#tab-2">
    10       <span>Local Roles
     11      <span i18n:translate="">Local Roles
    1112      </span></a>
    1213    </li>
     
    1415  <div class="tab-content">
    1516    <div id="tab-1" class="active">
    16       <h3 tal:content="view/subunits">Applicants Containers</h3>
     17      <h3 tal:content="view/subunits">SUBUNITS</h3>
    1718      <table class="display dataTableManage">
    1819        <thead>
     
    2021            <th>&nbsp;
    2122            </th>
    22             <th>Year
     23            <th i18n:translate="">Year
    2324            </th>
    24             <th>Code
     25            <th i18n:translate="">Code
    2526            </th>
    26             <th>Title
     27            <th i18n:translate="">Title
    2728            </th>
    2829          </tr>
     
    3031        <tbody>
    3132          <tr tal:repeat="entry context/values"         class="gradeC"> <td>
    32               <input type="checkbox" name="val_id"   tal:attributes="value entry/__name__" /> </td>
    33             <td tal:content="entry/year">Year </td> <td>
    34               <a href=""         tal:attributes="href python:view.url(entry)"   tal:content="entry/__name__">Code</a> </td>
    35             <td tal:content="entry/title">Title </td>
     33              <input type="checkbox" name="val_id"
     34                tal:attributes="value entry/__name__" /> </td>
     35            <td tal:content="entry/year">YEAR</td> <td>
     36              <a href=""
     37                tal:attributes="href python:view.url(entry)"
     38                tal:content="entry/__name__">CODE</a> </td>
     39            <td tal:content="entry/title">TITLE</td>
    3640          </tr>
    3741        </tbody>
     
    3943      <div tal:condition="view/availableActions">
    4044        <span tal:repeat="action view/actions" tal:omit-tag="">
    41           <input tal:condition="python:action.label in view.taboneactions"   tal:replace="structure action/render"/>
     45          <input tal:condition="python:action.label in view.taboneactions"
     46            tal:replace="structure action/render"/>
    4247        </span>
    4348      </div>
     
    4954            <th>&nbsp;
    5055            </th>
    51             <th>User Id
     56            <th i18n:translate="">User Id
    5257            </th>
    53             <th>Name
     58            <th i18n:translate="">Name
    5459            </th>
    55             <th>Local Role
     60            <th i18n:translate="">Local Role
    5661            </th>
    5762          </tr>
    5863        </thead>
    5964        <tbody>
    60           <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC">  <td>
    61               <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" />  </td>
    62             <td tal:content="entry/user_name"> USERNAME   </td>
    63             <td tal:content="entry/user_title"> USERTITLE   </td>
    64             <td tal:content="entry/local_role_title"> LOCAL ROLE   </td>
     65          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC">
     66            <td> <input type="checkbox" name="role_id"
     67                    tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" />  </td>
     68            <td tal:content="entry/user_name">USERNAME</td>
     69            <td tal:content="entry/user_title">USERTITLE</td>
     70            <td tal:content="entry/local_role_title">LOCAL ROLE</td>
    6571          </tr>
    6672        </tbody>
     
    6874      <div tal:condition="view/availableActions">
    6975        <span tal:repeat="action view/actions" tal:omit-tag="">
    70           <input tal:condition="python:action.label in view.tabtwoactions1" tal:replace="structure action/render"/>
     76          <input tal:condition="python:action.label in view.tabtwoactions1"
     77            tal:replace="structure action/render"/>
    7178        </span>
    7279      </div> <br /><br />
     
    7481        <tr> <td>
    7582            <select id="user" name="user">
    76               <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
     83              <option tal:repeat="user view/getUsers"
     84                tal:attributes="value user/name">
    7785              <span tal:replace="user/val/title">USERTITLE
    7886              </span>
     
    8088            </select> </td> <td>
    8189            <select id="local_role" name="local_role">
    82               <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     90              <option tal:repeat="localrole view/getLocalRoles"
     91                tal:attributes="value localrole/name">
    8392              <span tal:replace="localrole/title">LOCALROLETITLE
    8493              </span>
     
    8796            <div tal:condition="view/availableActions">
    8897              <span tal:repeat="action view/actions" tal:omit-tag="">
    89                 <input tal:condition="python:action.label in view.tabtwoactions2" tal:replace="structure action/render"/>
     98                <input tal:condition="python:action.label in view.tabtwoactions2"
     99                  tal:replace="structure action/render"/>
    90100              </span>
    91101            </div> </td>
Note: See TracChangeset for help on using the changeset viewer.