| 1 | <% import MaKaC.webinterface.urlHandlers as urlHandlers %> |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | <table width="100%" align="center"> |
|---|
| 5 | |
|---|
| 6 | <tr> |
|---|
| 7 | <td> |
|---|
| 8 | <table align="center" width="95%" border="0" style="border: 1px solid #777777;"> |
|---|
| 9 | <tr> |
|---|
| 10 | <td> </td> |
|---|
| 11 | </tr> |
|---|
| 12 | <tr> |
|---|
| 13 | <td> |
|---|
| 14 | <table align="center" width="95%" border="0"> |
|---|
| 15 | <%= withdrawnNotice %> |
|---|
| 16 | <tr> |
|---|
| 17 | <td align="center"><%= modifIcon %><font size="+1" color="black"><b><%= title %></b></font></td> |
|---|
| 18 | </tr> |
|---|
| 19 | <tr> |
|---|
| 20 | <td width="100%"> <td> |
|---|
| 21 | </tr> |
|---|
| 22 | <% |
|---|
| 23 | 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 | %> |
|---|
| 25 | <tr> |
|---|
| 26 | <td> |
|---|
| 27 | <table align="center"> |
|---|
| 28 | <tr> |
|---|
| 29 | <td><%= description %></td> |
|---|
| 30 | </tr> |
|---|
| 31 | </table> |
|---|
| 32 | </td> |
|---|
| 33 | </tr> |
|---|
| 34 | <tr> |
|---|
| 35 | <td width="100%"> <td> |
|---|
| 36 | </tr> |
|---|
| 37 | <%end%> |
|---|
| 38 | <tr> |
|---|
| 39 | <td> |
|---|
| 40 | <table align="center" width="95%"> |
|---|
| 41 | <% |
|---|
| 42 | if self._rh._target.getConference().getAbstractMgr().isActive() and self._rh._target.getConference().hasEnabledSection("cfa") and self._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField(): |
|---|
| 43 | %> |
|---|
| 44 | <%= additionalFields %> |
|---|
| 45 | <%end%> |
|---|
| 46 | <tr> |
|---|
| 47 | <td align="right" valign="top" class="displayField"><b><%= _("Id")%>:</b></td> |
|---|
| 48 | <td><%= id %></td> |
|---|
| 49 | </tr> |
|---|
| 50 | <%= location %> |
|---|
| 51 | <tr> |
|---|
| 52 | <td align="right" valign="top" class="displayField"><b><%= _("Starting date")%>:</b></td> |
|---|
| 53 | <td width="100%"> |
|---|
| 54 | <table cellspacing="0" cellpadding="0" align="left"> |
|---|
| 55 | <tr> |
|---|
| 56 | <td align="right"><%= startDate %></td> |
|---|
| 57 | <td> <%= startTime %></td> |
|---|
| 58 | </tr> |
|---|
| 59 | </table> |
|---|
| 60 | </td> |
|---|
| 61 | </tr> |
|---|
| 62 | <tr> |
|---|
| 63 | <td align="right" valign="top" class="displayField"><b><%= _("Duration")%>:</b></td> |
|---|
| 64 | <td width="100%"><%= duration %></td> |
|---|
| 65 | </tr> |
|---|
| 66 | <%= contribType %> |
|---|
| 67 | <%= primaryAuthors %> |
|---|
| 68 | <%= coAuthors %> |
|---|
| 69 | <%= speakers %> |
|---|
| 70 | <% if Contribution.canUserSubmit(self._aw.getUser()) or Contribution.canModify(self._aw): %> |
|---|
| 71 | <td class="displayField" nowrap="" align="right" valign="top"> |
|---|
| 72 | <b><%=_("Material")%>:</b> |
|---|
| 73 | <% if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfReview().hasReviewing() : %> |
|---|
| 74 | <% inlineContextHelp(_('Here you should add the general materials for your contribution. They will not be subject of reviewing.')) %> |
|---|
| 75 | <% end %> |
|---|
| 76 | </td> |
|---|
| 77 | <td width="100%" valign="top" style="padding-top:5px;"> |
|---|
| 78 | <%=MaterialList%> |
|---|
| 79 | </td> |
|---|
| 80 | <% end %> |
|---|
| 81 | <% else: %> |
|---|
| 82 | <%= material %> |
|---|
| 83 | <% end %> |
|---|
| 84 | <%= inSession %> |
|---|
| 85 | <%= inTrack %> |
|---|
| 86 | <%= subConts %> |
|---|
| 87 | <% if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfReview().hasReviewing() : %> |
|---|
| 88 | <% if Contribution.canUserSubmit(self._aw.getUser()) or Contribution.canModify(self._aw): %> |
|---|
| 89 | <tr><td align="right" valign="top" class="displayField" nowrap> |
|---|
| 90 | <b><%=_("Reviewing materials")%>:</b> |
|---|
| 91 | <% inlineContextHelp(_('Here you should add the materials for reviewing. They will be judged by the reviewing team.')) %> |
|---|
| 92 | </td> |
|---|
| 93 | <td> |
|---|
| 94 | <%=ReviewingMatList%> |
|---|
| 95 | </td> |
|---|
| 96 | </tr> |
|---|
| 97 | <% if Contribution.getReviewManager().getLastReview().isAuthorSubmitted(): %> |
|---|
| 98 | <tr> |
|---|
| 99 | <td align="right" valign="top" class="displayField" nowrap> |
|---|
| 100 | <b><%=_("Reviewing status")%>:</b> |
|---|
| 101 | </td> |
|---|
| 102 | <td style="border-left:5px solid #FFFFFF;"> |
|---|
| 103 | <%= "<br>".join(Contribution.getReviewManager().getLastReview().getReviewingStatus(forAuthor = True)) %> |
|---|
| 104 | </td> |
|---|
| 105 | </tr> |
|---|
| 106 | <% if Contribution.getConference().getConfReview().getChoice() == 3: %> |
|---|
| 107 | <% if not Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted():%> |
|---|
| 108 | <% display = 'table' %> |
|---|
| 109 | <% end %> |
|---|
| 110 | <% else: %> |
|---|
| 111 | <% display = 'none' %> |
|---|
| 112 | <% end %> |
|---|
| 113 | <% end %> |
|---|
| 114 | <% if Contribution.getConference().getConfReview().getChoice() == 2: %> |
|---|
| 115 | <% if not (Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice()): %> |
|---|
| 116 | <% display = 'table' %> |
|---|
| 117 | <% end %> |
|---|
| 118 | <% else: %> |
|---|
| 119 | <% display = 'none' %> |
|---|
| 120 | <% end %> |
|---|
| 121 | <% end %> |
|---|
| 122 | <% if Contribution.getConference().getConfReview().getChoice() == 4: %> |
|---|
| 123 | <% if Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice() or Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted(): %> |
|---|
| 124 | <% display = 'none' %> |
|---|
| 125 | <% end %> |
|---|
| 126 | <% else: %> |
|---|
| 127 | <% display = 'table' %> |
|---|
| 128 | <% end %> |
|---|
| 129 | <% end %> |
|---|
| 130 | <tr> |
|---|
| 131 | <td> </td> |
|---|
| 132 | <td colspan="2" align="left"> |
|---|
| 133 | <form action="<%=urlHandlers.UHContributionRemoveSubmittedMarkForReviewing.getURL(Contribution)%>" method="POST" style="display:<%=display%>"> |
|---|
| 134 | <input type="submit" class="btn" value="UNDO sending" > |
|---|
| 135 | <% inlineContextHelp(_('Press this button only if you made some mistake when submitting the materials.The reviewing team will be notified and the reviewing process will be stopped until you mark the materials as submitted again')) %> |
|---|
| 136 | </form> |
|---|
| 137 | </td> |
|---|
| 138 | </tr> |
|---|
| 139 | <% end %> |
|---|
| 140 | <% if len(Contribution.getReviewManager().getVersioning()) > 1: %> |
|---|
| 141 | <tr> |
|---|
| 142 | <td align="right" valign="top" class="displayField" nowrap> |
|---|
| 143 | <b><%=_("Reviewing history")%>:</b> |
|---|
| 144 | </td> |
|---|
| 145 | <td width="100%" valing="top"><div id="showHideHistory" style="display:inline"></div></td> |
|---|
| 146 | </tr> |
|---|
| 147 | <tr> |
|---|
| 148 | <td id="HistoryTable" align="center" width="100%" colspan="2"> |
|---|
| 149 | <%= reviewingHistoryStuffDisplay %> |
|---|
| 150 | </td> |
|---|
| 151 | </tr> |
|---|
| 152 | |
|---|
| 153 | <% end %> |
|---|
| 154 | <% end %> |
|---|
| 155 | <% end %> |
|---|
| 156 | </table> |
|---|
| 157 | </td> |
|---|
| 158 | </tr> |
|---|
| 159 | </table> |
|---|
| 160 | </td> |
|---|
| 161 | </tr> |
|---|
| 162 | </table> |
|---|
| 163 | </td> |
|---|
| 164 | </tr> |
|---|
| 165 | </table> |
|---|
| 166 | |
|---|
| 167 | <script type="text/javascript"> |
|---|
| 168 | /** |
|---|
| 169 | * Builds the 'link' to show and hide the reviewing history. |
|---|
| 170 | */ |
|---|
| 171 | var buildShowHideHistory = function() { |
|---|
| 172 | var option = new Chooser({ |
|---|
| 173 | showHistory: command(function(){ |
|---|
| 174 | $E('HistoryTable').dom.style.display = ''; |
|---|
| 175 | option.set('hideHistory'); |
|---|
| 176 | }, $T('Show History')), |
|---|
| 177 | hideHistory: command(function(){ |
|---|
| 178 | $E('HistoryTable').dom.style.display = 'none'; |
|---|
| 179 | option.set('showHistory'); |
|---|
| 180 | }, $T('Hide History')) |
|---|
| 181 | }); |
|---|
| 182 | option.set('showHistory'); |
|---|
| 183 | |
|---|
| 184 | $E('showHideHistory').set(Widget.link(option)); |
|---|
| 185 | } |
|---|
| 186 | |
|---|
| 187 | <% if len(Contribution.getReviewManager().getVersioning()) > 1: %> |
|---|
| 188 | buildShowHideHistory(); |
|---|
| 189 | $E('HistoryTable').dom.style.display = 'none'; |
|---|
| 190 | <% end %> |
|---|
| 191 | </script> |
|---|