1 <% import MaKaC.webinterface.urlHandlers as urlHandlers %>
2 <% from MaKaC.paperReviewing import ConferencePaperReview as CPR %>
4 <table width="100%" align="center">
7 <table align="center" width="95%" border="0" style="border: 1px solid #777777;">
13 <table align="center" width="95%" border="0">
16 <td align="center">${ modifIcon }<font size="+1" color="black"><b>${ title }</b></font></td>
19 <td width="100%"> </td>
21 % if not self_._rh._target.getConference().getAbstractMgr().isActive() or not self_._rh._target.getConference().hasEnabledSection("cfa") or not self_._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField():
24 <table align="center">
26 <td>${ description }</td>
32 <td width="100%"> <td>
37 <table align="center" width="95%">
43 <% display = 'none' %>
45 <div align="center" style="display:${display}">
46 <span id="hideContributionFull" class="collaborationDisplayMoreInfo" onclick="showGeneralInfo();">${ _("Show general info")}</span>
49 <% display = 'none' %>
53 <div id="showContributionFull" style="display:${display}">
54 <table align="center" width="95%">
55 % if self_._rh._target.getConference().getAbstractMgr().isActive() and self_._rh._target.getConference().hasEnabledSection("cfa") and self_._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField():
59 <td align="right" valign="top" class="displayField"><b>${ _("Id")}:</b></td>
64 <td align="right" valign="top" class="displayField"><b>${ _("Starting date")}:</b></td>
66 <table cellspacing="0" cellpadding="0" align="left">
68 <td align="right">${ startDate }</td>
69 <td> ${ startTime }</td>
75 <td align="right" valign="top" class="displayField"><b>${ _("Duration")}:</b></td>
76 <td width="100%">${ duration }</td>
82 % if (Contribution.canUserSubmit(self_._aw.getUser()) or Contribution.canModify(self_._aw)) and not isWithdrawn:
83 <td class="displayField" nowrap="" align="right" valign="top">
84 <b>${_("Material")}:</b>
85 % if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfPaperReview().hasReviewing() :
86 ${inlineContextHelp(_('Here you should add the general materials for your contribution. They will not be subject of reviewing.'))}
89 <td width="100%" valign="top" style="padding-top:5px;">
103 % if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfPaperReview().hasReviewing() and not isWithdrawn:
104 % if Contribution.canUserSubmit(self_._aw.getUser()) or Contribution.canModify(self_._aw):
105 <tr><td align="right" valign="top" class="displayField" nowrap>
106 <b>${_("Reviewing material")}:</b>
107 ${inlineContextHelp(_('Here you should add the materials for reviewing. They will be judged by the reviewing team.'))}
113 % if Contribution.getReviewManager().getLastReview().isAuthorSubmitted():
115 <td align="right" valign="top" class="displayField" nowrap>
116 <b>${_("Reviewing status")}:</b>
118 <td style="border-left:5px solid #FFFFFF;">
119 ${ "<br>".join(Contribution.getReviewManager().getLastReview().getReviewingStatus(forAuthor = True)) }
122 % if Contribution.getConference().getConfPaperReview().getChoice() == CPR.LAYOUT_REVIEWING:
123 % if not Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted():
124 <% display = 'table' %>
126 <% display = 'none' %>
129 % if Contribution.getConference().getConfPaperReview().getChoice() == CPR.CONTENT_REVIEWING:
130 % if not (Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice()):
131 <% display = 'table' %>
133 <% display = 'none' %>
136 % if Contribution.getConference().getConfPaperReview().getChoice() == CPR.CONTENT_AND_LAYOUT_REVIEWING:
137 % if Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice() or Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted():
138 <% display = 'none' %>
140 <% display = 'table' %>
149 % if len(Contribution.getReviewManager().getVersioning()) > 1:
151 <td align="right" valign="top" class="displayField" nowrap>
152 <b>${_("Reviewing history")}:</b>
154 <td width="100%" valing="top"><div id="showHideHistory" style="display:inline"></div></td>
157 <td id="HistoryTable" align="center" width="100%" colspan="2">
158 ${ reviewingHistoryStuffDisplay }
176 <script type="text/javascript">
178 * Builds the 'link' to show and hide the reviewing history.
180 var buildShowHideHistory = function() {
181 var option = new Chooser({
182 showHistory: command(function(){
183 $E('HistoryTable').dom.style.display = '';
184 option.set('hideHistory');
185 }, $T('Show History')),
186 hideHistory: command(function(){
187 $E('HistoryTable').dom.style.display = 'none';
188 option.set('showHistory');
189 }, $T('Hide History'))
191 option.set('showHistory');
193 $E('showHideHistory').set(Widget.link(option));
196 % if len(Contribution.getReviewManager().getVersioning()) > 1:
197 buildShowHideHistory();
198 $E('HistoryTable').dom.style.display = 'none';
201 function showGeneralInfo() {
202 if ($E('hideContributionFull').dom.innerHTML == 'Hide general info') {
203 $E('showContributionFull').dom.style.display = 'none';
204 $E('hideContributionFull').dom.innerHTML = 'Show general info';
206 if ($E('hideContributionFull').dom.innerHTML == 'Show general info') {
207 $E('showContributionFull').dom.style.display = '';
208 $E('hideContributionFull').dom.innerHTML = $T('Hide general info');