Ignore:
Timestamp:
02/21/11 17:36:14 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
c099cd
Parents:
3fa6ed
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (01/31/11 14:47:55)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (02/21/11 17:36:14)
Message:

[REF] Convert old-style templates to new-style

  • replace all %(xyz)s with <%= xyz %>
  • remove declareTemplate(newTemplateStyle=True) calls as all templates are new-style now
  • remove old-style template support
  • stop replacing % with %%
  • adding script to do the 'convert' action
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/tpls/ConfModifRegistrantReasonParticipationModify.tpl

    r9033fd r9ac2af7  
    1 <form action=%(postURL)s method="POST"> 
     1<form action=<%= postURL %> method="POST"> 
    22<br> 
    3 <table width="60%%" align="center" style="border-left:1px solid #777777;border-top:1px solid #777777;" cellspacing="0"> 
     3<table width="60%" align="center" style="border-left:1px solid #777777;border-top:1px solid #777777;" cellspacing="0"> 
    44  <tr> 
    5     <td nowrap class="groupTitle" colspan="2"><b><%= _("Modifying")%> %(title)s</b></td> 
     5    <td nowrap class="groupTitle" colspan="2"><b><%= _("Modifying")%> <%= title %></b></td> 
    66  </tr> 
    77  <tr><td><br></td></tr> 
    88  <tr> 
    99    <td align="left" valign="top"><span class="titleCellFormat">&nbsp;<%= _("Reason")%></span><br><br> 
    10     &nbsp;&nbsp;<textarea name="reason" rows="5" cols="75">%(reasonParticipation)s</textarea></td> 
     10    &nbsp;&nbsp;<textarea name="reason" rows="5" cols="75"><%= reasonParticipation %></textarea></td> 
    1111  </tr> 
    1212  <tr><td>&nbsp;</td></tr> 
Note: See TracChangeset for help on using the changeset viewer.