Changeset e5cb23 in indico


Ignore:
Timestamp:
10/04/10 17:17:56 (3 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, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
3cc4fe
Parents:
511011
git-author:
csvetelina.angelova@…> (03/04/10 13:31:30)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (10/04/10 17:17:56)
Message:

[FIX] RefereeListofContr? to judge & layout fixes

  • the judgements from the Content and Layout Reviewers are shown in the "Judge as Referee" page only if they are assigned for this contributions. The Judgements are never deelted, even if the Reviewers are unassigned from the contributions or from the whole conference.
  • Reviewing History and Display Contribution - layout fixes
Location:
indico/MaKaC
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/contributionReviewing.py

    r5596fa re5cb23  
    528528                    status.append(_("Judged: ") + str(self._refereeJudgement.getJudgement())) 
    529529                else: 
    530                     status.append(_("Pending referee decision")) 
     530                    #status.append(_("Pending referee decision")) 
    531531                    if not forAuthor: 
    532532                        if self.getConfReview().getChoice() == 4: 
    533                             if self._editorJudgement.isSubmitted(): 
     533                            editor = self._reviewManager.getEditor() 
     534                            if self._reviewManager.isEditor(editor) and self._editorJudgement.isSubmitted(): 
    534535                                status.append(_("Layout judged: ") + str(self._editorJudgement.getJudgement())) 
    535536                            else: 
     
    537538                             
    538539                        if self.anyReviewerHasGivenAdvice(): 
    539                             for a in self.getReviewerJudgements(): 
    540                                 status.append(_("Content judged: ") + str(a.getJudgement())) 
     540                            for reviewer in self._reviewManager.getReviewersList(): 
     541                                status.append(_("Content judged: ") + str(self._reviewManager.getLastReview().getReviewerJudgement(reviewer).getJudgement())) 
    541542                            if not self.allReviewersHaveGivenAdvice(): 
    542543                                status.append(_("Some content reviewers have not decided yet")) 
  • indico/MaKaC/webinterface/tpls/AdviceJudgementDisplay.tpl

    rc0ad9d re5cb23  
    55                    </td> 
    66                    <td style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;"> 
    7                         <strong><%= advice.getJudgement() %></strong>, 
    8                         <%= _(" submitted on ") %><%= advice.getAdjustedSubmissionDate().strftime(format) %> 
     7                        <%= advice.getJudgement() %>, 
     8                        <em><%= _(" submitted on ") %><%= advice.getAdjustedSubmissionDate().strftime(format) %></em> 
    99                    </td> 
    1010                </tr> 
  • indico/MaKaC/webinterface/tpls/ContributionDisplayFull.tpl

    r5596fa re5cb23  
    3838        <tr> 
    3939          <td> 
    40             <table align="center" width="90%%"> 
     40            <table align="center" width="95%%"> 
    4141                <% 
    4242                if self._rh._target.getConference().getAbstractMgr().isActive() and self._rh._target.getConference().hasEnabledSection("cfa") and self._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField(): 
     
    6262                    <tr> 
    6363                        <td align="right" valign="top" class="displayField"><b><%= _("Duration")%>:</b></td> 
    64                         <td width="100%%">%(duration)s</td> 
     64                            <td width="100%%">%(duration)s</td> 
    6565                    </tr> 
    6666                                        %(contribType)s 
     
    9797                            <% if Contribution.getReviewManager().getLastReview().isAuthorSubmitted(): %> 
    9898                                    <tr> 
    99                                             <td align="right" valign="top" class="displayField" style="border-right:5px solid #FFFFFF;" nowrap> 
     99                                            <td align="right" valign="top" class="displayField" nowrap> 
    100100                                                <b><%=_("Reviewing status")%>:</b> 
    101101                                            </td> 
     
    128128                                    <% end %> 
    129129                                <% end %> 
    130                                     <table align="center" style="display:<%=display%>"> 
    131                                     <tr> 
    132                                         <td colspan="2" align="center"> 
     130                                <tr> 
     131                                <td>&nbsp;</td> 
     132                                        <td colspan="2" align="left"> 
    133133                                            <form action="<%=urlHandlers.UHContributionRemoveSubmittedMarkForReviewing.getURL(Contribution)%>" method="POST"> 
    134134                                                <input type="submit" class="btn" value="UNDO sending" > 
     
    136136                                            </form> 
    137137                                        </td> 
    138                                      </table> 
    139                             <% end %> 
    140                         </tr> 
    141                         <% end %> 
    142                     <% end %> 
    143                   
    144               <% if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfReview().hasReviewing() and len(Contribution.getReviewManager().getVersioning()) > 1: %> 
    145                   
    146                  <table align="center" width="80%%">  
    147                   <tr> 
    148                       <td align="right" valign="top" class="displayField" style="border-right:5px solid #FFFFFF;" nowrap> 
    149                             <b><%=_("Reviewing history")%>:</b> 
    150                       </td> 
    151                       <td width="100%%" valing="top"><div id="showHideHistory" style="display:inline"></div></td> 
    152                   </tr> 
    153                </table> 
    154                 
    155                <table id="HistoryTable" align="center" width="100%%"> 
    156                <tbody>  
    157                <tr> 
    158                       <td colspan="2"> 
    159                            %(reviewingHistoryStuffDisplay)s 
    160                       </td> 
    161                   </tr> 
    162                </tbody>     
    163                </table>      
     138                                </tr> 
     139                      <% if len(Contribution.getReviewManager().getVersioning()) > 1: %> 
     140                      <tr> 
     141                                      <td align="right" valign="top" class="displayField" nowrap> 
     142                                            <b><%=_("Reviewing history")%>:</b> 
     143                                      </td> 
     144                                      <td width="100%%" valing="top"><div id="showHideHistory" style="display:inline"></div></td> 
     145                       </tr> 
     146                       <tr> 
     147                           <td id="HistoryTable" align="center" width="100%%" colspan="2"> 
     148                                       %(reviewingHistoryStuffDisplay)s     
     149                               </td> 
     150               </tr>  
     151               <% end %>    
     152              <% end %> 
     153              <% end %> 
    164154              <% end %> 
    165155              </table> 
  • indico/MaKaC/webinterface/tpls/ContributionReviewingHistory.tpl

    rce685f re5cb23  
    55 
    66<% for review in Versioning: %> 
    7          
     7        <% for m in review.getMaterials(): %> 
     8           <% for res in m.getResourceList(): %> 
    89            <table width="90%%" align="center" border="0" style="padding-bottom: 10px;"> 
    910                <tr> 
    1011                            <td colspan="1" class="dataCaptionTD" style="width: 25%;padding-right: 1px"> 
    11                              <em><%= _("Review ")%> <%= review.getVersion() %><span class="titleCellFormat" style="font-size: 12px;"><%= _(" of material:")%></span></em> 
     12                             <em><%= _("Review ")%> <%= review.getVersion() %><span class="titleCellFormat" style="font-size: 12px;"><%= _(" of:")%></span></em> 
    1213                            </td> 
    1314                            <td> 
    14                              <% for m in review.getMaterials(): %> 
    15                                 <% for res in m.getResourceList(): %> 
    1615                                    <span style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;"> 
    1716                                    <% if isinstance(res, LocalFile): %> 
     
    2524                                    </span> 
    2625                                <br/> 
    27                                 <% end %> 
    28                             <% end %> 
    2926                            </td> 
    3027                    </tr> 
    3128                </table> 
     29           <% end %> 
     30         <% end %> 
    3231            
    3332        <% includeTpl ('ContributionReviewingDisplay', 
  • indico/MaKaC/webinterface/tpls/EditingJudgementDisplay.tpl

    rc0ad9d re5cb23  
    66                    </td> 
    77                    <td style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;"> 
    8                         <strong><%= Editing.getJudgement() %></strong>, 
    9                         <%= _(" submitted on ") %><%= Editing.getAdjustedSubmissionDate().strftime(format) %> 
     8                        <%= Editing.getJudgement() %>, 
     9                        <em><%= _(" submitted on ") %><%= Editing.getAdjustedSubmissionDate().strftime(format) %></em> 
    1010                    </td> 
    1111                </tr> 
  • indico/MaKaC/webinterface/tpls/FinalJudgementDisplay.tpl

    rc0ad9d re5cb23  
    66                </td> 
    77                <td style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;"> 
    8                     <strong><%= Review.getRefereeJudgement().getJudgement() %></strong>, 
    9                     <%= _(" submitted on ") %><%= Review.getRefereeJudgement().getAdjustedSubmissionDate().strftime(format) %> 
     8                    <%= Review.getRefereeJudgement().getJudgement() %>, 
     9                    <em><%= _(" submitted on ") %><%= Review.getRefereeJudgement().getAdjustedSubmissionDate().strftime(format) %></em> 
    1010                </td> 
    1111           </tr> 
  • indico/MaKaC/webinterface/tpls/ShowExistingReviewingMaterial.tpl

    rcc2966 re5cb23  
    1111<% end %> 
    1212<form id="SendBtnForm" action="<%=urlHandlers.UHContributionSubmitForRewiewing.getURL(self._target)%>" method="POST" style="disabled:true; display:<%=display%>"> 
    13     <input id="SendBtn" type="submit" class="btn" value="Send" style="display:<%=display%>"> 
     13    <input id="SendBtn" type="submit" class="btn" value="Send" disabled="disabled" style="display:<%=display%>"> 
    1414    <span id="SendHelp" style="display:<%=display%>"> 
    1515        <% inlineContextHelp(_('First you should add the materials and then by clicking on this button you will send them for reviewing. They will be locked until the end of the process')) %> 
Note: See TracChangeset for help on using the changeset viewer.