Changeset df7cbd in indico


Ignore:
Timestamp:
07/29/11 18:05:02 (22 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
6c87d3
Parents:
4d8700
git-author:
Pedro Ferreira <jose.pedro.ferreira@…> (07/29/11 15:41:02)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (07/29/11 18:05:02)
Message:

[FIX] Several template fixes

  • Old style templates were still there;
Location:
indico/MaKaC/webinterface/tpls
Files:
3 edited

Legend:

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

    r137cf0 rdf7cbd  
    1111        </td> 
    1212        <td bgcolor="white" width="100%" class="blacktext"> 
    13             <% if showIds: %> 
     13            % if showIds: 
    1414                <% icon = str(Config.getInstance().getSystemIconURL( "enabledSection" )) %> 
    15             <% end %> 
    16             <% else: %> 
     15            % else: 
    1716                <% icon = str(Config.getInstance().getSystemIconURL( "disabledSection" )) %> 
    18             <% end %> 
    19             <a href="<%= urlToogleShowIds %>"><img src="<%= icon %>"> <%= _("Show Abstract IDs") %></a> <%= _("(Table of Contents)") %> 
     17            % endif 
     18            <a href="${ urlToogleShowIds }"><img src="${ icon }"> ${ _("Show Abstract IDs") }</a> ${ _("(Table of Contents)") } 
    2019        </td> 
    2120    </tr> 
  • indico/MaKaC/webinterface/tpls/RBAdminFrame.tpl

    rf9bbd4 rdf7cbd  
    1 <div class="banner"><span class="bannerTitle bannerTitle_0"><%= _("Room Booking Administration") %></span></div> 
     1<div class="banner"><span class="bannerTitle bannerTitle_0"><${ _("Room Booking Administration") }</span></div> 
    22 
    33<!-- Body --> 
    44<div class="container"> 
    5     <%= body %> 
     5    ${ body } 
    66</div> 
    77<!-- End of body --> 
  • indico/MaKaC/webinterface/tpls/RoomBookingRoomForm.tpl

    r137cf0 rdf7cbd  
    3232        </div> 
    3333        <div id="resvStartNotificationCH" class="tip"> 
    34              <%= _("Whether to trigger notifications when a booking for the room begins.")%> 
     34             ${ _("Whether to trigger notifications when a booking for the room begins.") } 
    3535        </div> 
    3636        <div id="resvEndNotificationCH" class="tip"> 
    37              <%= _("Whether to trigger notifications when a booking for the room ends.")%> 
     37             ${ _("Whether to trigger notifications when a booking for the room ends.") } 
    3838        </div> 
    3939        <div id="whereIsKeyCH" class="tip"> 
     
    159159                                        </tr> 
    160160                                        <tr> 
    161                                             <td align="right" valign="top"><small> <%= _("Notification on booking start")%>&nbsp;&nbsp;</small></td> 
    162                                             <td align="left" class="blacktext"><input type="checkbox" <% if room.resvStartNotification: %> checked="checked" <% end %> id="resvStartNotification" name="resvStartNotification" /> <% contextHelp( 'resvStartNotificationCH' ) %></td> 
    163                                         </tr> 
    164                                         <tr> 
    165                                             <td align="right" valign="top"><small> <%= _("Notification on booking end")%>&nbsp;&nbsp;</small></td> 
    166                                             <td align="left" class="blacktext"><input type="checkbox" <% if room.resvEndNotification: %> checked="checked" <% end %> id="resvEndNotification" name="resvEndNotification" /> <% contextHelp( 'resvEndNotificationCH' ) %></td> 
     161                                            <td align="right" valign="top"><small> ${ _("Notification on booking start")}&nbsp;&nbsp;</small></td> 
     162                                            <td align="left" class="blacktext"><input type="checkbox" ${'checked="checked"' if room.resvStartNotification else ''} id="resvStartNotification" name="resvStartNotification" /> ${ contextHelp( 'resvStartNotificationCH' ) }</td> 
     163                                        </tr> 
     164                                        <tr> 
     165                                            <td align="right" valign="top"><small> ${ _("Notification on booking end")}&nbsp;&nbsp;</small></td> 
     166                                            <td align="left" class="blacktext"><input type="checkbox" ${'checked="checked"' if room.resvEndNotification else ''} id="resvEndNotification" name="resvEndNotification" /> ${ contextHelp( 'resvEndNotificationCH' ) }</td> 
    167167                                        </tr> 
    168168                                    </table> 
Note: See TracChangeset for help on using the changeset viewer.