Ignore:
Timestamp:
04/18/12 16:15:15 (13 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
ae6d2f
Parents:
3982db
git-author:
Alberto Resco Perez <alberto.resco.perez@…> (04/18/12 08:56:02)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (04/18/12 16:15:15)
Message:

[IMP] Improvement UI sucontribution display

  • Refactoring and redesign.
  • Applied same styles of contribution display.
File:
1 edited

Legend:

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

    r988cfe rd62122  
    1 <table width="100%" align="center"> 
    2   <tr> 
    3     <td> 
    4       <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    5         <tr> 
    6           <td>&nbsp;</td> 
    7         </tr> 
    8         <tr> 
    9           <td> 
    10             <table> 
    11               <tr> 
    12                 <td align="center"><font size="+1" color="black"><b>${ title } </b></font></td> 
    13               </tr> 
    14               <tr> 
    15                 <td width="100%">&nbsp;</td> 
    16               </tr> 
    17               <tr> 
    18                 <td> 
    19                   <table align="center"> 
    20                     <tr> 
    21                       <td><pre>${ description }</pre></td> 
    22                      </tr> 
    23                    </table> 
    24                 </td> 
    25               </tr> 
    26               <tr> 
    27                 <td> 
    28                   <table align="center" width="90%"> 
    29                     <tr> 
    30                       <td align="right" valign="top" class="displayField"><b> ${ _("Id")}:</b></td> 
    31                       <td>${ id }</td> 
    32                     </tr> 
    33                     <tr> ${ location } </tr> 
    34                     <tr> 
    35                       <td align="right" valign="top" class="displayField"><b> ${ _("Duration")}:</b></td> 
    36                       <td width="100%">${ duration }</td> 
    37                     </tr> 
    38                     <tr>${ speakers }</tr> 
    39                     <tr>${ material }</tr> 
    40                     <tr>${ inContrib }</tr> 
    41                   </table> 
    42                 </td> 
    43               </tr> 
    44             </table> 
    45           </td> 
    46         </tr> 
    47       </table> 
    48     </td> 
    49   </tr> 
    50 </table> 
     1<%inherit file="SubContributionDisplayMin.tpl"/> 
    512 
     3<%block name="speakers"> 
     4    <div class="subContributionSpeakerList"> 
     5        <% speakers = [] %> 
     6        % for speaker in SubContrib.getSpeakerList(): 
     7            <% speakers.append(speaker.getDirectFullName()) %> 
     8        % endfor 
     9        % if speakers: 
     10            ${("Presented by")} <span style="font-weight: bold">${", ".join(speakers)} </span> 
     11        % endif 
     12    </div> 
     13</%block> 
Note: See TracChangeset for help on using the changeset viewer.