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

Backup work in progress

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

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r7708 r7710  
    6161    grok.name('index')
    6262    grok.require('waeup.Public')
    63     label = 'Application Section'
     63    label = _('Application Section')
    6464    pnav = 3
    6565
     
    7373    grok.name('manage')
    7474    grok.template('applicantsrootmanagepage')
    75     label = 'Manage application section'
     75    label = _('Manage application section')
    7676    pnav = 3
    7777    grok.require('waeup.manageApplication')
    78     taboneactions = ['Add applicants container', 'Remove selected','Cancel']
    79     tabtwoactions1 = ['Remove selected local roles']
    80     tabtwoactions2 = ['Add local role']
    81     subunits = 'Applicants Containers'
     78    taboneactions = [_('Add applicants container'), _('Remove selected'),
     79        _('Cancel')]
     80    tabtwoactions1 = [_('Remove selected local roles')]
     81    tabtwoactions2 = [_('Add local role')]
     82    subunits = _('Applicants Containers')
    8283
    8384    def update(self):
     
    101102        return get_users_with_local_roles(self.context)
    102103
    103     @jsaction('Remove selected')
     104    @jsaction(_('Remove selected'))
    104105    def delApplicantsContainers(self, **data):
    105106        form = self.request.form
     
    113114                deleted.append(id)
    114115            except:
    115                 self.flash('Could not delete %s: %s: %s' % (
     116                self.flash(_('Could not delete:') + ' %s: %s: %s' % (
    116117                        id, sys.exc_info()[0], sys.exc_info()[1]))
    117118        if len(deleted):
    118             self.flash('Successfully removed: %s' % ', '.join(deleted))
     119            self.flash(_('Successfully removed:') + ' %s' % ', '.join(deleted))
    119120        self.redirect(self.url(self.context, '@@manage'))
    120121        return
    121122
    122     @action('Add applicants container', validator=NullValidator)
     123    @action(_('Add applicants container'), validator=NullValidator)
    123124    def addApplicantsContainer(self, **data):
    124125        self.redirect(self.url(self.context, '@@add'))
    125126        return
    126127
    127     @action('Cancel', validator=NullValidator)
     128    @action(_('Cancel'), validator=NullValidator)
    128129    def cancel(self, **data):
    129130        self.redirect(self.url(self.context))
    130131        return
    131132
    132     @action('Add local role', validator=NullValidator)
     133    @action(_('Add local role'), validator=NullValidator)
    133134    def addLocalRole(self, **data):
    134135        return add_local_role(self,3, **data)
    135136
    136     @action('Remove selected local roles')
     137    @action(_('Remove selected local roles'))
    137138    def delLocalRoles(self, **data):
    138139        return del_local_roles(self,3,**data)
     
    143144    grok.name('add')
    144145    grok.template('applicantscontaineraddpage')
    145     label = 'Add applicants container'
     146    label = _('Add applicants container')
    146147    pnav = 3
    147148
     
    155156        return super(ApplicantsContainerAddFormPage, self).update()
    156157
    157     @action('Add applicants container')
     158    @action(_('Add applicants container'))
    158159    def addApplicantsContainer(self, **data):
    159160        year = data['year']
     
    164165        if code in self.context.keys():
    165166            self.flash(
    166                 'An applicants container for the same application '
    167                 'type and entrance year exists already in the database.')
     167                _('An applicants container for the same application type and entrance year exists already in the database.'))
    168168            return
    169169        # Add new applicants container...
     
    174174        container.title = title
    175175        self.context[code] = container
    176         self.flash('Added: "%s".' % code)
     176        self.flash(_('Added:') + ' "%s".' % code)
    177177        self.redirect(self.url(self.context, u'@@manage'))
    178178        return
    179179
    180     @action('Cancel', validator=NullValidator)
     180    @action(_('Cancel'), validator=NullValidator)
    181181    def cancel(self, **data):
    182182        self.redirect(self.url(self.context, '@@manage'))
     
    186186    """
    187187    grok.context(IApplicantsRoot)
    188     title = u'Applicants'
     188    title = _(u'Applicants')
    189189
    190190class ApplicantsContainerBreadcrumb(Breadcrumb):
     
    250250    form_fields = grok.AutoFields(IApplicantsContainer).omit(
    251251        'title', 'description_dict')
    252     taboneactions = ['Save','Cancel']
    253     tabtwoactions = ['Add applicant', 'Remove selected','Cancel']
    254     tabthreeactions1 = ['Remove selected local roles']
    255     tabthreeactions2 = ['Add local role']
     252    taboneactions = [_('Save'),_('Cancel')]
     253    tabtwoactions = [_('Add applicant'), _('Remove selected'),_('Cancel')]
     254    tabthreeactions1 = [_('Remove selected local roles')]
     255    tabthreeactions2 = [_('Add local role')]
    256256    # Use friendlier date widget...
    257257    form_fields['startdate'].custom_widget = FriendlyDateWidget('le')
     
    261261    @property
    262262    def label(self):
    263         return 'Manage applicants container'
     263        return _('Manage applicants container')
    264264
    265265    pnav = 3
     
    301301        self.applyData(self.context, **data)
    302302        self.context.description_dict = self._description()
    303         self.flash('Form has been saved.')
    304         return
    305 
    306     @jsaction('Remove selected')
     303        self.flash(_('Form has been saved.'))
     304        return
     305
     306    @jsaction(_('Remove selected'))
    307307    def delApplicant(self, **data):
    308308        form = self.request.form
     
    310310            child_id = form['val_id']
    311311        else:
    312             self.flash('No applicant selected!')
     312            self.flash(_('No applicant selected!'))
    313313            self.redirect(self.url(self.context, '@@manage')+'?tab2')
    314314            return
     
    321321                deleted.append(id)
    322322            except:
    323                 self.flash('Could not delete %s: %s: %s' % (
     323                self.flash(_('Could not delete:') + ' %s: %s: %s' % (
    324324                        id, sys.exc_info()[0], sys.exc_info()[1]))
    325325        if len(deleted):
    326             self.flash('Successfully removed: %s' % ', '.join(deleted))
     326            self.flash(_('Successfully removed:') + ' %s' % ', '.join(deleted))
    327327        self.redirect(self.url(self.context, u'@@manage')+'?tab2')
    328328        return
    329329
    330     @action('Add applicant', validator=NullValidator)
     330    @action(_('Add applicant'), validator=NullValidator)
    331331    def addApplicant(self, **data):
    332332        self.redirect(self.url(self.context, 'addapplicant'))
    333333        return
    334334
    335     @action('Cancel', validator=NullValidator)
     335    @action(_('Cancel'), validator=NullValidator)
    336336    def cancel(self, **data):
    337337        self.redirect(self.url(self.context))
    338338        return
    339339
    340     @action('Add local role', validator=NullValidator)
     340    @action(_('Add local role'), validator=NullValidator)
    341341    def addLocalRole(self, **data):
    342342        return add_local_role(self,3, **data)
    343343
    344     @action('Remove selected local roles')
     344    @action(_('Remove selected local roles'))
    345345    def delLocalRoles(self, **data):
    346346        return del_local_roles(self,3,**data)
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantdisplaypage.pt

    r7687 r7710  
    1 <h2> ... <span tal:replace="context/translated_state">Application State</span> ... </h2>
     1<h2>
     2... <span tal:replace="context/translated_state">APPLICATIONSTATE</span> ...
     3</h2>
    24
    35<div class="workflow">
    46  <div tal:repeat="msg context/history/messages">
    5     <span tal:replace="msg">message</span><br />
     7    <span tal:replace="msg">MESSAGE</span><br />
    68  </div>
    79</div>
     
    911<img src="" tal:attributes="src view/passport_url" />
    1012
    11 <table class="form-table">
     13<table i18n:domain="waeup.sirp" class="form-table">
    1214  <tbody>
    1315    <tal:block repeat="widget view/widgets">
     
    2224    </tal:block>
    2325    <tr>
    24       <td class="fieldname">
     26      <td class="fieldname" i18n:translate="">
    2527          Admitted Course of Study:
    2628      </td>
     
    3032    </tr>
    3133    <tr>
    32       <td class="fieldname">
     34      <td class="fieldname" i18n:translate="">
    3335          Password:
    3436      </td>
     
    3941  </tbody>
    4042</table>
    41 <h3 i18n:translate="acceptance_fee_tickets">
     43<h3 i18n:translate="">
    4244    Acceptance Fee Payment Tickets
    4345</h3>
     
    4547  <thead>
    4648    <tr>
    47       <th>Payment Id</th>
    48       <th>Creation Date</th>
    49       <th>Payment Date</th>
    50       <th>Category</th>
    51       <th>Item</th>
    52       <th>State</th>
     49      <th i18n:translate="">Payment Id</th>
     50      <th i18n:translate="">Creation Date</th>
     51      <th i18n:translate="">Payment Date</th>
     52      <th i18n:translate="">Category</th>
     53      <th i18n:translate="">Item</th>
     54      <th i18n:translate="">State</th>
    5355    </tr>
    5456  </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicanteditpage.pt

    r7687 r7710  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    4   <h2> ... <span tal:replace="context/translated_state">Application State</span> ... </h2>
     4  <h2>
     5  ... <span tal:replace="context/translated_state">APPLICATIONSTATE</span> ...
     6  </h2>
    57
    68  <div class="workflow">
    79    <div tal:repeat="msg context/history/messages">
    8       <span tal:replace="msg">message</span><br />
     10      <span tal:replace="msg">MESSAGE</span><br />
    911    </div>
    1012  </div>
     
    3234      </tal:block>
    3335      <tr>
    34         <td class="fieldname">
     36        <td class="fieldname" i18n:translate="">
    3537          Photograph
    3638        </td>
     
    3941          <input type="file" name="form.passport" />
    4042          <br />
    41           <span i18n:translate="max_file_size">
     43          <span i18n:translate="">
    4244            Max. file size:
    4345          </span>
     
    4547      </tr>
    4648      <tr tal:condition="view/manage_applications">
    47         <td class="fieldname">Password:</td>
     49        <td class="fieldname" i18n:translate="">Password:</td>
    4850        <td>
    4951          <input name="password" type="password"  />
     
    5153      </tr>
    5254      <tr tal:condition="view/manage_applications">
    53         <td class="fieldname">Retype password:</td>
     55        <td class="fieldname" i18n:translate="">Retype password:</td>
    5456        <td>
    5557          <input name="control_password" type="password" />
     
    5759      </tr>
    5860      <tr tal:condition="view/manage_applications">
    59         <td class="fieldname">Application Transition:</td>
     61        <td class="fieldname" i18n:translate="">Application Transition:</td>
    6062        <td>
    6163          <select id="transition" name="transition">
     
    7375    <input id="confirm_passport" name="confirm_passport"
    7476           type="checkbox" value="True"/>
     77    <span i18n:translate="">
    7578    I confirm that the Passport Photograph uploaded on this form is a
    7679    true picture of me.
     80    </span>
    7781  </div>
    7882
     
    8690
    8791  <br /><br />
    88   <h3 i18n:translate="acceptance_fee_tickets">
     92  <h3 i18n:translate="">
    8993      Acceptance Fee Payment Tickets
    9094  </h3>
     
    9498    <tr>
    9599      <th>&nbsp;</th>
    96       <th>Payment Id</th>
    97       <th>Creation Date</th>
    98       <th>Payment Date</th>
    99       <th>Category</th>
    100       <th>Item</th>
    101       <th>State</th>
     100      <th i18n:translate="">Payment Id</th>
     101      <th i18n:translate="">Creation Date</th>
     102      <th i18n:translate="">Payment Date</th>
     103      <th i18n:translate="">Category</th>
     104      <th i18n:translate="">Item</th>
     105      <th i18n:translate="">State</th>
    102106    </tr>
    103107    </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantregemailsent.pt

    r7494 r7710  
    1 <div>
     1<div i18n:domain="waeup.sirp">
    22  <p>
    3     An email with your user name and password
    4     has been sent to <span tal:replace="view/email">user@foo.baz</span>.
     3    <span i18n:translate=""> An email with your user name and password
     4    has been sent to
     5    </span>
     6    <span tal:replace="view/email">user@foo.baz</span>.
    57  </p>
    6   <p>
     8  <p i18n:translate="">
    79    Please check your email account to proceed.
    810  </p>
    9   <p>
     11  <p  i18n:translate="">
    1012    Thanks for using SIRP!
    1113  </p>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantregister.pt

    r7669 r7710  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       enctype="multipart/form-data">
     2    i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    44  <table class="form-table">
     
    88          <td class="fieldname">
    99            <span tal:condition="widget/required">*</span>
    10             <span tal:content="widget/label">label</span>:
     10            <span tal:content="widget/label">LABEL</span>:
    1111          </td>
    1212          <td>
     
    1515            </span>
    1616            <tal:error tal:condition="widget/error">
    17               <span tal:replace="structure widget/error">error</span>
     17              <span tal:replace="structure widget/error">ERROR</span>
    1818            </tal:error>
    1919            <tal:hint tal:condition="widget/hint">
    20               <span tal:content="structure widget/hint">hint</span>
     20              <span tal:content="structure widget/hint">HINT</span>
    2121            </tal:hint>
    2222          </td>
     
    2424      </tal:block>
    2525      <tr tal:condition="view/captcha_code">
    26         <td i18n:translate="solve_captcha">
     26        <td i18n:translate="">
    2727          Please solve the captcha<br />to prevent misuse of this service:
    2828        </td>
     
    3434    </tbody>
    3535  </table>
    36   <p>
     36  <p i18n:translate="">
    3737    An account will be created for you and an email with your login
    3838    credentials will be sent to the address provided.
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt

    r7669 r7710  
    11<form action="." tal:attributes="action request/URL" method="post"
    2       class="edit-form" enctype="multipart/form-data">
     2  class="edit-form" enctype="multipart/form-data">
    33
    44  <table class="form-table">
     
    88          <td class="fieldname">
    99            <span tal:condition="widget/required">*</span>
    10             <span tal:content="widget/label">label</span>:
     10            <span tal:content="widget/label">LABEL</span>:
    1111          </td>
    1212          <td>
     
    1515            </span>
    1616            <tal:error tal:condition="widget/error">
    17               <span tal:replace="structure widget/error">error</span>
     17              <span tal:replace="structure widget/error">ERROR</span>
    1818            </tal:error>
    1919            <tal:hint tal:condition="widget/hint">
    20               <span tal:content="structure widget/hint">hint</span>
     20              <span tal:content="structure widget/hint">HINT</span>
    2121            </tal:hint>
    2222          </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt

    r7686 r7710  
    1 <form action="." tal:attributes="action request/URL" method="POST"  class="edit-form" enctype="multipart/form-data">
     1<form action="." tal:attributes="action request/URL" method="POST"
     2  i18n:domain="waeup.sirp" class="edit-form" enctype="multipart/form-data">
    23
    34  <ul class="tabs" data-tabs="tabs">
    45    <li tal:attributes="class view/tab1">
    56    <a href="#tab-1">
    6       <span>Settings
     7      <span i18n:translate="">Settings
    78      </span></a>
    89    </li>
    910    <li tal:attributes="class view/tab2">
    1011    <a href="#tab-2">
    11       <span>Applicants
     12      <span i18n:translate="">Applicants
    1213      </span></a>
    1314    </li>
    1415    <li tal:attributes="class view/tab3">
    1516    <a href="#tab-3">
    16       <span>Local Roles
     17      <span i18n:translate="">Local Roles
    1718      </span></a>
    1819    </li>
     
    2728                <span tal:condition="widget/required">*
    2829                </span>
    29                 <span tal:content="widget/label">label
     30                <span tal:content="widget/label">LABEL
    3031                </span>:
    3132              </td>
     
    3536                </span>
    3637                <tal:error tal:condition="widget/error">
    37                   <span tal:replace="structure widget/error">error
     38                  <span tal:replace="structure widget/error">ERROR
    3839                  </span>
    3940                </tal:error>
    4041                <tal:hint tal:condition="widget/hint">
    41                   <span  tal:content="structure widget/hint">hint
     42                  <span  tal:content="structure widget/hint">HINT
    4243                  </span>
    4344                </tal:hint> </td>
     
    5354      </div>
    5455    </div>
    55     <div id="tab-2" tal:attributes="class view/tab2"> <h3>Applicants</h3>
     56    <div id="tab-2" tal:attributes="class view/tab2">
     57      <h3 i18n:translate="">Applicants</h3>
    5658      <table class="display dataTableManage">
    5759        <thead>
     
    5961            <th>&nbsp;
    6062            </th>
    61             <th>Application Number
     63            <th i18n:translate="">Application Number
    6264            </th>
    63             <th>Full Name
     65            <th i18n:translate="">Full Name
    6466            </th>
    65             <th>First Choice
     67            <th i18n:translate="">First Choice
    6668            </th>
    67             <th>Application State
     69            <th i18n:translate="">Application State
    6870            </th>
    6971          </tr>
     
    7678            <td>
    7779              <a tal:attributes="href python: view.url(appl)"
    78                  tal:content="appl/__name__"> Number </a>
     80                 tal:content="appl/__name__">NUMBER</a>
    7981            </td>
    8082            <td>
    81               <span tal:replace="appl/display_fullname">Fullname
     83              <span tal:replace="appl/display_fullname">FULLNAME
    8284              </span>
    8385            </td>
    8486            <td>
    85               <span tal:replace="appl/course1/code|nothing">First Choice
     87              <span tal:replace="appl/course1/code|nothing">FIRSTCHOICE
    8688              </span>
    8789            </td>
    8890            <td>
    89               <span tal:replace="appl/translated_state">State
     91              <span tal:replace="appl/translated_state">STATE
    9092              </span>
    9193            </td>
     
    106108            <th>&nbsp;
    107109            </th>
    108             <th>User Id
     110            <th i18n:translate="">User Id
    109111            </th>
    110             <th>Name
     112            <th i18n:translate="">Name
    111113            </th>
    112             <th>Local Role
     114            <th i18n:translate="">Local Role
    113115            </th>
    114116          </tr>
  • 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>
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootpage.pt

    r7493 r7710  
    1 <table>
     1<table i18n:domain="waeup.sirp">
    22  <thead>
    33    <tr>
    4       <th>Year</th><th>Code</th><th>Title</th><th>Application Period</th>
     4      <th i18n:translate="">Year</th>
     5      <th i18n:translate="">Code</th>
     6      <th i18n:translate="">Title</th>
     7      <th i18n:translate="">Application Period</th>
    58    </tr>
    69  </thead>
     
    912      <td tal:content="entry/year">Year
    1013      </td>     
    11       <td tal:content="entry/__name__">Code
     14      <td tal:content="entry/__name__">CODE
    1215      </td>
    1316      <td>
    1417             <a href=""
    1518           tal:attributes="href python:view.url(entry)"
    16            tal:content="entry/title">Title</a>
     19           tal:content="entry/title">TITLE</a>
    1720      </td>
    1821      <td>
    19       <span tal:content="python: layout.formatDate(entry.startdate)">Start</span>
     22      <span tal:content="python: layout.formatDate(entry.startdate)">START</span>
    2023      -
    21       <span tal:content="python: layout.formatDate(entry.enddate)">End</span>
     24      <span tal:content="python: layout.formatDate(entry.enddate)">END</span>
    2225      </td>
    2326    </tr>
Note: See TracChangeset for help on using the changeset viewer.