Changeset ad6543 in indico


Ignore:
Timestamp:
04/26/12 10:47:58 (14 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 10eafd9ae230cbad5d99d5aaf22c24724fb6c98f
Children:
2d1b8e
Parents:
7fae23 (diff), a71adaa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'v0.98.2'

Location:
indico/MaKaC
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/__init__.py

    r87ace6 ra71adaa  
    2020 
    2121DEVELOPMENT = 0 
    22 __version__="0.98.1" 
     22__version__="0.98.2" 
  • indico/MaKaC/services/implementation/material.py

    r245d99 r88caaa  
    108108                return 
    109109            # status = 3 means the paper is under review (submitted but not reviewed) 
    110             elif RCContributionPaperReviewingStaff.hasRights(self, contribution = owner, includingContentReviewer=False) and reviewingState == 3: 
     110            elif isinstance(owner, conference.Contribution) and RCContributionPaperReviewingStaff.hasRights(self, contribution = owner, includingContentReviewer=False) and reviewingState == 3: 
    111111                return 
    112112            elif owner.getSession() and \ 
  • indico/MaKaC/webinterface/pages/conferences.py

    rffb71c r1b358b  
    423423 
    424424        if confCSS: 
    425             printCSS = printCSS + """<link rel="stylesheet" type="text/css" href="%s?%d">"""%(confCSS.getURL(), timestamp) 
     425            printCSS = printCSS + """<link rel="stylesheet" type="text/css" href="%s">"""%(confCSS.getURL()) 
    426426 
    427427        return printCSS 
  • indico/MaKaC/webinterface/tpls/MContributionDisplayFull.tpl

    rc0de5a r0aee6d  
    1 <br><table width="100%" align="center"> 
    2     <tr> 
    3         <td align="center"> 
    4             <form action=${ submitURL } method="POST"> 
    5             ${ submitBtn } 
    6             </form> 
    7         </td> 
    8     </tr> 
    9     <tr> 
    10         <td> 
    11         <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    12             <tr> 
    13                 <td>&nbsp;</td> 
    14             </tr> 
    15             <tr> 
    16                 <td> 
    17                     <table align="center" width="95%" border="0"> 
    18                         ${ withdrawnNotice } 
    19                     <tr> 
    20                         <td align="center">${ modifIcon }<font size="+1" color="black"><b>${ title }</b></font></td> 
    21                     </tr> 
    22  
    23                     <tr> 
    24                         <td> 
    25                             <table align="center"> 
    26                                 <tr> 
    27                                     <td>${ description }</td> 
    28                                 </tr> 
    29                             </table> 
    30                         </td> 
    31                     </tr> 
    32  
    33                     <tr> 
    34                         <td> 
    35                             <table align="center" width="90%"> 
    36                                 <tr> 
    37                                     <td align="right" valign="top" class="displayField"><b> ${ _("Id")}:</b></td> 
    38                                     <td>${ id }</td> 
    39             </tr> 
    40             ${ location } 
    41             <tr> 
    42                 <td align="right" valign="top" class="displayField"><b> ${ _("Starting date")}:</b></td> 
    43             <td width="100%"> 
    44                 <table cellspacing="0" cellpadding="0" align="left"> 
    45                 <tr> 
    46                     <td align="right">${ startDate }</td> 
    47                 <td>&nbsp;&nbsp;${ startTime }</td> 
    48                 </tr> 
    49                 </table> 
    50             </td> 
    51             </tr> 
    52             <tr> 
    53                 <td align="right" valign="top" class="displayField"><b> ${ _("Duration")}:</b></td> 
    54             <td width="100%">${ duration }</td> 
    55             </tr> 
    56                     ${ contribType } 
    57                     ${ primaryAuthors } 
    58                     ${ coAuthors } 
    59                     ${ speakers } 
    60                     % if Contribution.canUserSubmit(self_._aw.getUser()) or Contribution.canModify(self_._aw): 
    61                     <td class="displayField" nowrap="" align="right" valign="top"> 
    62                         <b>${ _("Material:")}</b> 
    63                     </td> 
    64                     <td width="100%" valign="top"> 
    65                         ${MaterialList} 
    66                     </td> 
    67                     % else: 
    68                         ${ material } 
    69                     % endif 
    70                     <tr><td>&nbsp;</td></tr> 
    71                     ${ inSession } 
    72                     ${ inTrack } 
    73                     <tr><td>&nbsp;</td></tr> 
    74                     ${ subConts } 
    75                  </table> 
    76                  </td> 
    77               </tr> 
    78               </table> 
    79            </td> 
    80         </tr> 
    81         </table> 
    82     </td> 
    83 </tr> 
    84 <tr> 
    85     <td align="center"> 
    86         <form action=${ submitURL } method="POST"> 
    87         ${ submitBtn } 
    88         </form> 
    89     </td> 
    90 </tr> 
    91 </table> 
     1<%inherit file="ContributionDisplayFull.tpl"/> 
  • indico/MaKaC/webinterface/tpls/MContributionDisplayMin.tpl

    rc0de5a r0aee6d  
    1 <br> 
    2 <table width="100%" align="center"> 
    3 <tr> 
    4   <td><br></td> 
    5 </tr> 
    6 <tr> 
    7   <td> 
    8     <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    9     <tr><td>&nbsp;</td></tr> 
    10                 <tr> 
    11                     <td> 
    12                         <table align="center" width="95%" border="0"> 
    13                             <tr> 
    14                                 <td colspan="2" align="center"><b><font size="+1" color="black">${ title }</font></b></td> 
    15                             </tr> 
    16                             <tr> 
    17                                 <td width="100%" colspan="3">&nbsp;<td> 
    18                             </tr> 
    19                             <tr> 
    20                                 <td align="left" colspan="3"> 
    21                                     <table width="95%" align="center" valign="top" border="0"> 
    22                                         <tr> 
    23                                             <td align="right" valign="top" 
    24                                                 class="displayField"><b>${ _("Id:")}</b></td> 
    25                                             <td>${ id }</td> 
    26                                         </tr> 
    27                                         ${ material } 
    28                                         <tr><td>&nbsp;</td></tr> 
    29                                         ${ inSession } 
    30                                         ${ inTrack } 
    31                                         <tr><td>&nbsp;</td></tr> 
    32                                         ${ subConts } 
    33                                     </table> 
    34                                 </td> 
    35                             </tr> 
    36                         </table> 
    37                     </td> 
    38                 </tr> 
    39             </table> 
    40         </td> 
    41     </tr> 
    42 </table> 
    43 <br> 
     1<%inherit file="ContributionDisplayMin.tpl"/> 
  • indico/MaKaC/webinterface/tpls/MMaterialDisplay.tpl

    r988cfe r71f38a  
    1 <table width="100%" align="center"> 
    2     <tr> 
    3  
    4     </tr> 
    5     <tr> 
    6         <td> 
    7         <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    8             <tr> 
    9                 <td>&nbsp;</td> 
    10             </tr> 
    11             <tr> 
    12                 <td> 
    13  
    14                  <tr> 
    15                         <td align="center"> 
    16             ${ modif } 
    17             <font size="+1" color="black"><b>${ title } <img src=${ icon }alt="file"></b></font></td> 
    18                     </tr> 
    19                     <tr> 
    20                         <td width="100%">&nbsp;<td> 
    21                     </tr> 
    22                     <tr> 
    23                         <td> 
    24                             <table align="center" width="70%"> 
    25                                 <tr> 
    26                                     <td>${ description }</td> 
    27                                 </tr> 
    28                             </table> 
    29                         </td> 
    30                     </tr> 
    31  
    32                     <tr> 
    33                         <td> 
    34                             <table align="center" width="80%"> 
    35                                 <tr> 
    36  
    37                                             ${ resources } 
    38  
    39                             </tr> 
    40  
    41  
    42  
    43  
    44                          </table> 
    45  
    46                  </td> 
    47  
    48               </table> 
    49            </td> 
    50         </tr> 
    51         </table> 
    52  
    53 </table> 
     1<%inherit file="MaterialDisplay.tpl"/> 
  • indico/MaKaC/webinterface/tpls/MSubContributionDisplayFull.tpl

    r988cfe r71f38a  
    1 <table width="100%" align="center"> 
    2     <tr> 
    3  
    4     </tr> 
    5     <tr> 
    6         <td> 
    7         <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    8             <tr> 
    9                 <td>&nbsp;</td> 
    10             </tr> 
    11             <tr> 
    12                 <td> 
    13  
    14                  <tr> 
    15                         <td align="center"><a href="${ modifyURL }"><img src="${ modifyIcon }" border="0" alt="${ _("Jump to the modification interface")}"></a><font size="+1" color="black"><b>${ title }</b></font></td> 
    16                     </tr> 
    17                     <tr> 
    18                         <td width="100%">&nbsp;<td> 
    19                     </tr> 
    20                     <tr> 
    21                         <td> 
    22                             <table align="center"> 
    23                                 <tr> 
    24                                     <td><pre>${ description }</pre></td> 
    25                                 </tr> 
    26                             </table> 
    27                         </td> 
    28                     </tr> 
    29  
    30                     <tr> 
    31                         <td> 
    32                             <table align="center" width="90%"> 
    33                                 <tr> 
    34                                     <td align="right" valign="top" class="displayField"><b> ${ _("Id")}:</b></td> 
    35                                             <td>${ id }</td> 
    36                             </tr> 
    37            <tr> ${ location } </tr> 
    38  
    39             <tr> 
    40                 <td align="right" valign="top" class="displayField"><b> ${ _("Duration")}:</b></td> 
    41             <td width="100%">${ duration }</td> 
    42             </tr> 
    43  
    44             <tr>${ speakers }</tr> 
    45             <tr>${ material }</tr> 
    46             <tr>${ inContrib }</tr> 
    47  
    48                          </table> 
    49  
    50                  </td> 
    51               </tr> 
    52               </table> 
    53            </td> 
    54         </tr> 
    55         </table> 
    56  
    57 </table> 
    58  
     1<%inherit file="SubContributionDisplayFull.tpl"/> 
  • indico/MaKaC/webinterface/tpls/MSubContributionDisplayMin.tpl

    r988cfe r71f38a  
    1 <table width="100%" align="center"> 
    2     <tr> 
    3  
    4     </tr> 
    5     <tr> 
    6         <td> 
    7         <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> 
    8             <tr> 
    9                 <td>&nbsp;</td> 
    10             </tr> 
    11             <tr> 
    12                 <td> 
    13  
    14                  <tr> 
    15                         <td align="center"><font size="+1" color="black"><b>${ title }</b></font></td> 
    16                     </tr> 
    17                     <tr> 
    18                         <td width="100%">&nbsp;<td> 
    19                     </tr> 
    20                     <tr> 
    21                         <td> 
    22                             <table align="center"> 
    23                                 <tr> 
    24                                     <td><pre>${ description }</pre></td> 
    25                                 </tr> 
    26                             </table> 
    27                         </td> 
    28                     </tr> 
    29                     <tr> 
    30                         <td width="100%">&nbsp;<td> 
    31                     </tr> 
    32                     <tr> 
    33                         <td> 
    34                             <table align="center" width="90%"> 
    35                                 <tr> 
    36                                     <td align="right" valign="top" class="displayField"><b> ${ _("Id")}:</b></td> 
    37                                             <td>${ id }</td> 
    38                             </tr> 
    39            <tr> ${ location } </tr> 
    40  
    41             <tr> 
    42                 <td align="right" valign="top" class="displayField"><b> ${ _("Duration")}:</b></td> 
    43             <td width="100%">${ duration }</td> 
    44             </tr> 
    45  
    46             <tr>${ material }</tr> 
    47             <tr>${ inContrib }</tr> 
    48  
    49                          </table> 
    50  
    51                  </td> 
    52               </tr> 
    53               </table> 
    54            </td> 
    55         </tr> 
    56         </table> 
    57  
    58 </table> 
     1<%inherit file="SubContributionDisplayMin.tpl"/> 
  • indico/MaKaC/webinterface/tpls/SubContributionDisplayMin.tpl

    rd62122 rce1a1f3  
    8282<script type="text/javascript"> 
    8383    $("#manageMaterial").click(function(){ 
    84         IndicoUI.Dialogs.Material.editor('${SubContrib.getConference().getId()}', '${SubContrib.getSession().getId()}','${SubContrib.getParent().getId()}','${SubContrib.getId()}', 
     84        IndicoUI.Dialogs.Material.editor('${SubContrib.getConference().getId()}', '${SubContrib.getSession().getId() if SubContrib.getSession() else ""}','${SubContrib.getParent().getId()}','${SubContrib.getId()}', 
    8585                ${jsonEncode(SubContrib.getAccessController().isProtected())}, ${jsonEncode(SubContrib.getMaterialRegistry().getMaterialList(SubContrib.getConference()))}, ${'Indico.Urls.UploadAction.subcontribution'}, true); 
    8686     }); 
Note: See TracChangeset for help on using the changeset viewer.