Changeset ac1609 in indico
- Timestamp:
- 10/04/10 17:17:54 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 5b4690
- Parents:
- 334896
- git-author:
- csvetelina.angelova@…> (02/01/10 17:27:22)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (10/04/10 17:17:54)
- Location:
- indico/MaKaC
- Files:
-
- 12 edited
-
reviewing.py (modified) (5 diffs)
-
services/implementation/reviewing.py (modified) (2 diffs)
-
webinterface/pages/conferences.py (modified) (1 diff)
-
webinterface/pages/contributionReviewing.py (modified) (2 diffs)
-
webinterface/tpls/ConfModifUserCompetences.tpl (modified) (3 diffs)
-
webinterface/tpls/ConfModificationReviewingFrame.tpl (modified) (1 diff)
-
webinterface/tpls/ConfModificationReviewingFramePRM.tpl (modified) (1 diff)
-
webinterface/tpls/ConfModificationReviewingSettings.tpl (modified) (27 diffs)
-
webinterface/tpls/ConfReviewingAssignContributions.tpl (modified) (5 diffs)
-
webinterface/tpls/ContributionDisplayFull.tpl (modified) (1 diff)
-
webinterface/tpls/ContributionReviewingJudgements.tpl (modified) (7 diffs)
-
webinterface/tpls/JudgeEditing.tpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/reviewing.py
r423698 rac1609 78 78 self._defaultAbstractReviwerDueDate = None 79 79 80 #auto e-mails 80 #auto e-mails 81 self._enablePRMEmailNotif = True 81 82 self._enableRefereeEmailNotif = False 82 83 self._enableEditorEmailNotif = False … … 176 177 177 178 #auto e-mails methods for assign/remove reviewing team to the conference notification 179 def getEnablePRMEmailNotif(self): 180 try : 181 if self._enablePRMEmailNotif : 182 pass 183 except AttributeError : 184 self._enablePRMEmailNotif = True 185 return self._enablePRMEmailNotif 186 187 def enablePRMEmailNotif(self): 188 self._enablePRMEmailNotif = True 189 190 def disablePRMEmailNotif(self): 191 self._enablePRMEmailNotif = False 192 178 193 def getEnableRefereeEmailNotif(self): 179 194 try : … … 815 830 self._userCompetences[newPaperReviewManager] = [] 816 831 self.notifyModification() 832 if self._enablePRMEmailNotif == True: 817 833 notification = ConferenceReviewingNotification(newPaperReviewManager, 'Paper Review Manager', self._conference) 818 834 GenericMailer.sendAndLog(notification, self._conference, "MaKaC/reviewing.py", newPaperReviewManager) … … 835 851 paperReviewManager.unlinkTo(self._conference, "paperReviewManager") 836 852 self.notifyModification() 837 notification = ConferenceReviewingRemoveNotification(paperReviewManager, 'Paper Review Manager', self._conference) 838 GenericMailer.sendAndLog(notification, self._conference, "MaKaC/reviewing.py", paperReviewManager) 853 if self._enablePRMEmailNotif == True: 854 notification = ConferenceReviewingRemoveNotification(paperReviewManager, 'Paper Review Manager', self._conference) 855 GenericMailer.sendAndLog(notification, self._conference, "MaKaC/reviewing.py", paperReviewManager) 839 856 else: 840 857 raise MaKaCError("Cannot remove a paper review manager who is not yet paper review manager") … … 1141 1158 """ 1142 1159 roles=[] 1143 if self.isPaperReviewManager(user) :1160 if self.isPaperReviewManager(user) and not self._choice == 1: 1144 1161 roles.append('Manager of Paper Reviewing Module') 1145 if self.isReferee(user) :1162 if self.isReferee(user) and (self._choice == 2 or self._choice == 4): 1146 1163 roles.append('Referee') 1147 if self.isEditor(user) :1164 if self.isEditor(user) and (self._choice == 3 or self._choice == 4): 1148 1165 roles.append('Layout Reviewer') 1149 if self.isReviewer(user) :1166 if self.isReviewer(user) and (self._choice == 2 or self._choice == 4): 1150 1167 roles.append('Content Reviewer') 1151 1168 if self.isAbstractManager(user): -
indico/MaKaC/services/implementation/reviewing.py
r0c1608 rac1609 242 242 if date: 243 243 return datetime.datetime.strftime(date,'%d/%m/%Y %H:%M') 244 244 245 class ConferenceReviewingAutoEmailsModificationPRM(ConferenceReviewingSetupTextModificationBase ): 246 247 def _handleSet(self): 248 if self._value: 249 self._confReview.enablePRMEmailNotif() 250 else: 251 self._confReview.disablePRMEmailNotif() 252 253 def _handleGet(self): 254 return self._confReview.getEnablePRMEmailNotif() 255 245 256 class ConferenceReviewingAutoEmailsModificationReferee(ConferenceReviewingSetupTextModificationBase ): 246 257 … … 848 859 "conference.removeAllReviewers" : ConferenceReviewingRemoveAllReviewers, 849 860 861 "conference.PRMEmailNotif" : ConferenceReviewingAutoEmailsModificationPRM, 850 862 "conference.RefereeEmailNotif" : ConferenceReviewingAutoEmailsModificationReferee, 851 863 "conference.EditorEmailNotif" : ConferenceReviewingAutoEmailsModificationEditor, -
indico/MaKaC/webinterface/pages/conferences.py
r334896 rac1609 278 278 279 279 280 if showrefereearea :280 if showrefereearea and (self._conf.getConfReview().getChoice()==2 or self._conf.getConfReview().getChoice()==4): 281 281 self._assignContribOpt.setVisible(True) 282 282 self._judgeListOpt.setVisible(True) 283 283 284 if showreviewerarea :284 if showreviewerarea and (self._conf.getConfReview().getChoice()==2 or self._conf.getConfReview().getChoice()==4): 285 285 self._judgereviewerListOpt.setVisible(True) 286 286 287 if showeditorarea :287 if showeditorarea and (self._conf.getConfReview().getChoice()==3 or self._conf.getConfReview().getChoice()==4): 288 288 self._judgeeditorListOpt.setVisible(True) 289 289 -
indico/MaKaC/webinterface/pages/contributionReviewing.py
r334896 rac1609 133 133 134 134 conferenceChoice = self._conf.getConfReview().getChoice() 135 conferenceChoiceStr = self._conf.getConfReview().getReviewingMode() 135 136 reviewManager = self.__target.getReviewManager() 136 137 vars["Conference"] = self._conf … … 138 139 vars["Contribution"] = self.__target 139 140 vars["ConferenceChoice"] = conferenceChoice 141 vars["ConferenceChoiceStr"] = conferenceChoiceStr 140 142 vars["FinalJudge"] = reviewManager.getLastReview().getRefereeJudgement().getJudgement() 141 143 vars["Editing"] = reviewManager.getLastReview().getEditorJudgement() -
indico/MaKaC/webinterface/tpls/ConfModifUserCompetences.tpl
rc818e6 rac1609 2 2 3 3 <% if not ConfReview.hasReviewing(): %> 4 < table align="center"><tr><td><%= _("Type of reviewing has not been chosen yet")%></td></tr></table>4 <p style="padding-left: 25px;"><font color="gray"><%= _("Type of reviewing has not been chosen yet")%></font></p> 5 5 <% end %> 6 6 <% elif ConfReview.getAllUserCompetences() == []: %> … … 27 27 28 28 <% for user, competences in ConfReview.getAllUserCompetences(): %> 29 <% if ConfReview.getUserReviewingRoles(user): %> 29 30 <% if ConfReview.isPaperReviewManager(user) or ConfReview.isReferee(user) or ConfReview.isEditor(user) or ConfReview.isReviewer(user):%> 30 31 <tr valign="top"> … … 38 39 </td> 39 40 </tr> 41 <% end %> 40 42 <% end %> 41 43 <% end %> -
indico/MaKaC/webinterface/tpls/ConfModificationReviewingFrame.tpl
r423698 rac1609 4 4 <% if ConfReview.hasReviewing(): %> 5 5 <table width="85%%" align="center" border="0"> 6 <tr>7 6 <td id="revControlRefereeEditorReviewerHelp" colspan="3" class="groupTitle" style="padding-top: 15px; padding-bottom: 15px;"> 8 7 <%= _("Step 2: Assign Reviewers")%> 9 8 </td> 10 </tr> 9 </tr> 10 <tr> 11 <td> 12 <% if ConfReview.getEnableRefereeEmailNotif() or ConfReview.getEnableEditorEmailNotif() or ConfReview.getEnableReviewerEmailNotif(): %> 13 <div style="padding-top: 10px; padding-bottom: 15px;"> 14 <em><%=_("An automatically generated e-mail will be send to the Reviewers you will assign")%></em><br> 15 <em><%= _("You can modify this from the Paper Reviewing Setup")%></em> 16 </div> 17 <% end %> 18 </td> 19 </tr> 20 <tr> 11 21 </table> 22 12 23 <table width="83%%" align="right" border="0"> 13 14 24 <% if ConfReview.getChoice() == 3 or ConfReview.getChoice() == 1:%> 15 25 <% pass %> 16 26 <% end %> 17 <% else: %> 27 <% else: %> 18 28 <tr> 19 29 %(refereeTable)s -
indico/MaKaC/webinterface/tpls/ConfModificationReviewingFramePRM.tpl
ra0cc55 rac1609 3 3 4 4 <% if not ConfReview.hasReviewing(): %> 5 < table align="center"><tr><td><%= _("Type of reviewing has not been chosen yet")%></td></tr></table>5 <p style="padding-left: 25px;"><font color="gray"><%= _("Type of reviewing has not been chosen yet")%></font></p> 6 6 <% end %> 7 7 <%else:%> 8 8 <br> 9 9 <table width="85%%" align="center" border="0"> 10 <tr> 11 <td id="revControlPRMHelp" colspan="3" class="groupTitle" style="padding-top: 15px;"><%= _("Step 1: Assign Managers of Paper Reviewing Module")%></td> 12 </tr> 10 13 <tr> 11 <em><%= _("Please, follow the steps to assign Paper Reviewing Team")%></em> 12 <td id="revControlPRMHelp" colspan="3" class="groupTitle" style="padding-top: 15px;"><%= _("Step 1: Assign Managers of Paper Reviewing Module")%></td> 14 <td colspan="3"> 15 <% if ConfReview.getEnablePRMEmailNotif(): %> 16 <div style="padding-top: 10px; padding-bottom: 15px;"> 17 <em><%=_("An automatically generated e-mail will be send to the Paper Review Managers you will assign")%></em><br> 18 <em><%= _("You can modify this from the Paper Reviewing Setup")%></em> 19 </div> 20 <% end %> 21 </td> 13 22 </tr> 14 23 <tr> -
indico/MaKaC/webinterface/tpls/ConfModificationReviewingSettings.tpl
r321374 rac1609 91 91 <%= stateTable %> 92 92 </td> 93 94 93 </form> 95 94 </tr> … … 261 260 <% end %> 262 261 <tr id="autoEmails" style="display:<%=display%>"> 263 <td id="automaticNotificationHelp" colspan="5" class="reviewingsubtitle"><%= _("Automatic e-mails ")%>262 <td id="automaticNotificationHelp" colspan="5" class="reviewingsubtitle"><%= _("Automatic e-mails can be send to")%>: 264 263 <% inlineContextHelp(_('Here you can enable/disable automatic e-mails sending.<br/>Notifications can be send to the Reviewing Team in the next several situations<br/><ul><li>when are added/removed Reviewers for the conference</li><li>when are assinged/removed contributions to Reviewers</li><li>when authors of the contributions have been submitted materials</li></ul>Notifications can be send to the authors when their contributions had been judged by the Reviewers.'))%> 265 264 </td> 266 265 </tr> 266 <tr id="autoEmailsPRMLabel" style="display:<%=display%>"> 267 <td style="padding-top: 10px;"> 268 <%= _("Paper Review Managers when")%>: 269 </td> 270 </tr> 271 <tr id="PRMNotif" style="white-space:nowrap; display: <%=display%>"> 272 <td> 273 <div> 274 <span id="PRMNotifButton"> 275 </span> 276 </div> 277 </td> 278 </tr> 267 279 <% if ConfReview.hasPaperReviewing(): %> 268 280 <% display = 'table-row' %> … … 271 283 <% display = 'none' %> 272 284 <% end %> 285 <tr id="autoEmailsRefereeLabel" style="display:<%=display%>"> 286 <td style="padding-top: 10px;"> 287 <%= _("Referees when")%>: 288 </td> 289 </tr> 273 290 <tr id="refereeNotif" style="white-space:nowrap; display: <%=display%>"> 274 291 <td> … … 279 296 </td> 280 297 </tr> 298 <tr id="refereeNotifForContribution" style="white-space:nowrap; display: <%=display%>"> 299 <td> 300 <div> 301 <span id="refereeNotifForContributionButton"> 302 </span> 303 </div> 304 </td> 305 </tr> 306 <tr id="authorSubmittedMatRefereeNotif" style="white-space:nowrap; display: <%=display%>"> 307 <td> 308 <div> 309 <span id="authorSubmittedMatRefereeNotifButton"> 310 </span> 311 </div> 312 </td> 313 </tr> 314 <tr id="autoEmailsContentLabel" style="display:<%=display%>"> 315 <td style="padding-top: 10px;"> 316 <%= _("Content Reviewers when")%>: 317 </td> 318 </tr> 319 <tr id="reviewerNotif" style="white-space:nowrap; display: <%=display%>"> 320 <td> 321 <div> 322 <span id="reviewerNotifButton"> 323 </span> 324 </div> 325 </td> 326 </tr> 327 <tr id="reviewerNotifForContribution" style="white-space:nowrap; display: <%=display%>"> 328 <td> 329 <div> 330 <span id="reviewerNotifForContributionButton"> 331 </span> 332 </div> 333 </td> 334 </tr> 335 <tr id="authorSubmittedMatReviewerNotif" style="white-space:nowrap; display: <%=display%>"> 336 <td> 337 <div> 338 <span id="authorSubmittedMatReviewerNotifButton"> 339 </span> 340 </div> 341 </td> 342 </tr> 281 343 <% if ConfReview.hasPaperEditing(): %> 282 344 <% display = 'table-row' %> … … 285 347 <% display = 'none' %> 286 348 <% end %> 349 <tr id="autoEmailsEditorLabel" style="display:<%=display%>"> 350 <td style="padding-top: 10px;"> 351 <%= _("Layout Reviewers when")%>: 352 </td> 353 </tr> 287 354 <tr id="editorNotif" style="white-space:nowrap; display: <%=display%>"> 288 355 <td> … … 293 360 </td> 294 361 </tr> 295 <% if ConfReview.hasPaperReviewing(): %> 362 <tr id="editorNotifForContribution" style="white-space:nowrap; display: <%=display%>"> 363 <td> 364 <div> 365 <span id="editorNotifForContributionButton"> 366 </span> 367 </div> 368 </td> 369 </tr> 370 <tr id="authorSubmittedMatEditorNotif" style="white-space:nowrap; display: <%=display%>"> 371 <td> 372 <div> 373 <span id="authorSubmittedMatEditorNotifButton"> 374 </span> 375 </div> 376 </td> 377 </tr> 378 <% if ConfReview.hasReviewing(): %> 296 379 <% display = 'table-row' %> 297 380 <% end %> … … 299 382 <% display = 'none' %> 300 383 <% end %> 301 <tr id="reviewerNotif" style="white-space:nowrap; display: <%=display%>"> 302 <td> 303 <div> 304 <span id="reviewerNotifButton"> 305 </span> 306 </div> 307 </td> 308 </tr> 309 <% if ConfReview.hasPaperReviewing(): %> 384 <tr id="autoEmailsAuthor" style="display:<%=display%>"> 385 <td style="padding-top: 10px;"> 386 <%= _("Author of the paper when a judgement is submitted by")%>: 387 </td> 388 </tr> 389 <% if ConfReview.hasPaperReviewing(): %> 310 390 <% display = 'table-row' %> 311 391 <% end %> … … 313 393 <% display = 'none' %> 314 394 <% end %> 315 <tr id="refereeNotifForContribution" style="white-space:nowrap; display: <%=display%>"> 316 <td> 317 <div> 318 <span id="refereeNotifForContributionButton"> 395 <tr id="refereeJudgementNotif" style="white-space:nowrap; display: <%=display%>"> 396 <td> 397 <div> 398 <span id="refereeJudgementNotifButton"> 399 </span> 400 </div> 401 </td> 402 </tr> 403 <tr id="reviewerJudgementNotif" style="white-space:nowrap; display: <%=display%>"> 404 <td> 405 <div> 406 <span id="reviewerJudgementNotifButton"> 319 407 </span> 320 408 </div> … … 327 415 <% display = 'none' %> 328 416 <% end %> 329 <tr id="editorNotifForContribution" style="white-space:nowrap; display: <%=display%>">330 <td>331 <div>332 <span id="editorNotifForContributionButton">333 </span>334 </div>335 </td>336 </tr>337 <% if ConfReview.hasPaperReviewing(): %>338 <% display = 'table-row' %>339 <% end %>340 <% else: %>341 <% display = 'none' %>342 <% end %>343 <tr id="reviewerNotifForContribution" style="white-space:nowrap; display: <%=display%>">344 <td>345 <div>346 <span id="reviewerNotifForContributionButton">347 </span>348 </div>349 </td>350 </tr>351 <% if ConfReview.hasPaperReviewing(): %>352 <% display = 'table-row' %>353 <% end %>354 <% else: %>355 <% display = 'none' %>356 <% end %>357 <tr id="authorSubmittedMatRefereeNotif" style="white-space:nowrap; display: <%=display%>">358 <td>359 <div>360 <span id="authorSubmittedMatRefereeNotifButton">361 </span>362 </div>363 </td>364 </tr>365 <% if ConfReview.hasPaperEditing(): %>366 <% display = 'table-row' %>367 <% end %>368 <% else: %>369 <% display = 'none' %>370 <% end %>371 <tr id="authorSubmittedMatEditorNotif" style="white-space:nowrap; display: <%=display%>">372 <td>373 <div>374 <span id="authorSubmittedMatEditorNotifButton">375 </span>376 </div>377 </td>378 </tr>379 <% if ConfReview.hasPaperReviewing(): %>380 <% display = 'table-row' %>381 <% end %>382 <% else: %>383 <% display = 'none' %>384 <% end %>385 <tr id="authorSubmittedMatReviewerNotif" style="white-space:nowrap; display: <%=display%>">386 <td>387 <div>388 <span id="authorSubmittedMatReviewerNotifButton">389 </span>390 </div>391 </td>392 </tr>393 <% if ConfReview.hasPaperReviewing(): %>394 <% display = 'table-row' %>395 <% end %>396 <% else: %>397 <% display = 'none' %>398 <% end %>399 <tr id="refereeJudgementNotif" style="white-space:nowrap; display: <%=display%>">400 <td>401 <div>402 <span id="refereeJudgementNotifButton">403 </span>404 </div>405 </td>406 </tr>407 <% if ConfReview.hasPaperEditing(): %>408 <% display = 'table-row' %>409 <% end %>410 <% else: %>411 <% display = 'none' %>412 <% end %>413 417 <tr id="editorJudgementNotif" style="white-space:nowrap; display: <%=display%>"> 414 418 <td> … … 419 423 </td> 420 424 </tr> 421 <% if ConfReview.hasPaperReviewing(): %>422 <% display = 'table-row' %>423 <% end %>424 <% else: %>425 <% display = 'none' %>426 <% end %>427 <tr id="reviewerJudgementNotif" style="white-space:nowrap; display: <%=display%>">428 <td>429 <div>430 <span id="reviewerJudgementNotifButton">431 </span>432 </div>433 </td>434 </tr>435 425 </table> 436 426 … … 442 432 <% end %> 443 433 <form action="<%= setTemplateURL %>" method="post" ENCTYPE="multipart/form-data"> 444 <table id="templateTable" width="90%%" align="center" border="0" style=" display:<%=display%>">434 <table id="templateTable" width="90%%" align="center" border="0" style="padding-top: 10px; display:<%=display%>"> 445 435 <tr> 446 436 <td id="uploadTemplateHelp" colspan="5" class="reviewingsubtitle"><%= _("Upload a template")%></td> … … 578 568 $E('reviewerDefaultDateRow').dom.style.display = 'none'; 579 569 $E('autoEmails').dom.style.display = 'none'; 570 $E('autoEmailsPRMLabel').dom.style.display = 'none'; 571 $E('autoEmailsRefereeLabel').dom.style.display = 'none'; 572 $E('autoEmailsContentLabel').dom.style.display = 'none'; 573 $E('autoEmailsEditorLabel').dom.style.display = 'none'; 574 $E('autoEmailsAuthor').dom.style.display = 'none'; 575 $E('PRMNotif').dom.style.display = 'none'; 580 576 $E('refereeNotif').dom.style.display = 'none'; 581 577 $E('editorNotif').dom.style.display = 'none'; … … 604 600 $E('editorDefaultDateRow').dom.style.display = 'none'; 605 601 $E('reviewerDefaultDateRow').dom.style.display = ''; 606 $E('autoEmails').dom.style.display = '' 602 $E('autoEmails').dom.style.display = ''; 603 $E('autoEmailsPRMLabel').dom.style.display = ''; 604 $E('PRMNotif').dom.style.display = ''; 605 $E('autoEmailsRefereeLabel').dom.style.display = ''; 606 $E('autoEmailsContentLabel').dom.style.display = ''; 607 $E('autoEmailsEditorLabel').dom.style.display = 'none'; 608 $E('autoEmailsAuthor').dom.style.display = ''; 607 609 $E('refereeNotif').dom.style.display = ''; 608 610 $E('editorNotif').dom.style.display = 'none'; … … 639 641 $E('reviewerDefaultDateRow').dom.style.display = 'none'; 640 642 $E('autoEmails').dom.style.display = ''; 643 $E('autoEmailsPRMLabel').dom.style.display = ''; 644 $E('PRMNotif').dom.style.display = ''; 645 $E('autoEmailsRefereeLabel').dom.style.display = 'none'; 646 $E('autoEmailsContentLabel').dom.style.display = 'none'; 647 $E('autoEmailsEditorLabel').dom.style.display = ''; 648 $E('autoEmailsAuthor').dom.style.display = ''; 641 649 $E('refereeNotif').dom.style.display = 'none'; 642 650 $E('editorNotif').dom.style.display = ''; … … 670 678 $E('editorDefaultDateRow').dom.style.display = ''; 671 679 $E('reviewerDefaultDateRow').dom.style.display = ''; 680 $E('autoEmailsRefereeLabel').dom.style.display = ''; 681 $E('autoEmailsContentLabel').dom.style.display = ''; 682 $E('autoEmailsEditorLabel').dom.style.display = ''; 683 $E('autoEmailsAuthor').dom.style.display = ''; 672 684 $E('autoEmails').dom.style.display = ''; 685 $E('autoEmailsPRMLabel').dom.style.display = ''; 686 $E('PRMNotif').dom.style.display = ''; 673 687 $E('refereeNotif').dom.style.display = ''; 674 688 $E('editorNotif').dom.style.display = ''; … … 837 851 838 852 853 $E('PRMNotifButton').set(IndicoUI.Widgets.Generic.switchOptionButton('reviewing.conference.PRMEmailNotif', 854 {conference: '<%= ConfReview.getConference().getId() %>', 855 AutoEmailsToChange: 'PRM'}, 856 'are added/removed from the conference', 857 true 858 )); 859 839 860 $E('refereeNotifButton').set(IndicoUI.Widgets.Generic.switchOptionButton('reviewing.conference.RefereeEmailNotif', 840 861 {conference: '<%= ConfReview.getConference().getId() %>', 841 862 AutoEmailsToChange: 'Referee'}, 842 ' When a Referee is added or removed from the team',863 'are added/removed from the conference', 843 864 true 844 865 )); … … 846 867 {conference: '<%= ConfReview.getConference().getId() %>', 847 868 AutoEmailsToChange: 'Reviewer'}, 848 ' When a Content Reviewer is added or removed from the team',869 'are added/removed from the conference', 849 870 true 850 871 )); … … 852 873 {conference: '<%= ConfReview.getConference().getId() %>', 853 874 AutoEmailsToChange: 'Editor'}, 854 ' When a Layout Reviewer is added or removed from the team',875 'are added/removed from the conference', 855 876 true 856 877 )); … … 858 879 {conference: '<%= ConfReview.getConference().getId() %>', 859 880 AutoEmailsToChange: 'Referee'}, 860 ' When a contribution is assigned or unassigned to a Referee',881 'have assigned/unassigned contributions', 861 882 true 862 883 )); … … 864 885 {conference: '<%= ConfReview.getConference().getId() %>', 865 886 AutoEmailsToChange: 'Reviewer'}, 866 ' When a contribution is assigned or unassigned to a Content Reviewer',887 'have assigned/unassigned contributions', 867 888 true 868 889 )); … … 870 891 {conference: '<%= ConfReview.getConference().getId() %>', 871 892 AutoEmailsToChange: 'Editor'}, 872 ' When a contribution is assigned or unassigned to a Layout Reviewer',893 'have assigned/unassigned contributions', 873 894 true 874 895 )); … … 876 897 {conference: '<%= ConfReview.getConference().getId() %>', 877 898 AutoEmailsToChange: 'Referee'}, 878 ' To the author when the Referee submits judgement',899 'Referee', 879 900 true 880 901 )); … … 882 903 {conference: '<%= ConfReview.getConference().getId() %>', 883 904 AutoEmailsToChange: 'Reviewer'}, 884 ' To the author when a Content Reviewer submits judgement',905 'Content Reviewer', 885 906 true 886 907 )); … … 888 909 {conference: '<%= ConfReview.getConference().getId() %>', 889 910 AutoEmailsToChange: 'Editor'}, 890 ' To the author when the Layout Reviewer submits judgement',911 'Layout Reviewer', 891 912 true 892 913 )); … … 894 915 {conference: '<%= ConfReview.getConference().getId() %>', 895 916 AutoEmailsToChange: 'Referee'}, 896 ' To the Referee when an author submitspaper',917 'the author submits a paper', 897 918 true 898 919 )); … … 900 921 {conference: '<%= ConfReview.getConference().getId() %>', 901 922 AutoEmailsToChange: 'Reviewer'}, 902 ' To the Content Reviewer when an author submitspaper',923 'the author submits a paper', 903 924 true 904 925 )); … … 906 927 {conference: '<%= ConfReview.getConference().getId() %>', 907 928 AutoEmailsToChange: 'Editor'}, 908 ' To the Layout Reviewer when an author submitspaper',929 'the author submits a paper', 909 930 true 910 931 )); -
indico/MaKaC/webinterface/tpls/ConfReviewingAssignContributions.tpl
r0c1608 rac1609 732 732 } 733 733 734 contributionsWithoutEditor = [] 735 for (i in contributions) { 736 contributionId = contributions[i] 737 contribution = getContribution(contributionId) 738 if (contribution.reviewManager.editor = null) { 739 contributionsWithoutEditor.push(contributionId) 740 } 741 } 742 743 if (contributionsWithoutEditor.length == contributions.length) { 744 alert($T("There is no assigned Layout Reviewer to remove.") 745 ); 746 return false; 747 } 748 734 749 if (contributionsWithoutReviewers.length > 0) { 735 750 title =$T('Contributions without reviewer'); … … 757 772 758 773 return true; 774 } 775 776 var removeEditorAlerts = function(contributions, role) { 777 778 contributionsWithoutEditor = [] 779 for (i in contributions) { 780 contributionId = contributions[i] 781 contribution = getContribution(contributionId) 782 if (contribution.reviewManager.editor == null) { 783 contributionsWithoutEditor.push(contributionId) 784 } 785 } 786 787 if (contributionsWithoutEditor.length == contributions.length) { 788 alert($T("There is no assigned Layout Reviewer to remove.") 789 ); 790 return false; 791 } 792 793 return true; 794 795 } 796 797 var removeNoRefereeAlerts = function(contributions, role) { 798 799 contributionsWithoutEditor = [] 800 for (i in contributions) { 801 contributionId = contributions[i] 802 contribution = getContribution(contributionId) 803 if (contribution.reviewManager.referee == null) { 804 contributionsWithoutEditor.push(contributionId) 805 } 806 } 807 808 if (contributionsWithoutEditor.length == contributions.length) { 809 alert($T("There is no assigned Referee to remove.") 810 ); 811 return false; 812 } 813 814 return true; 815 759 816 } 760 817 … … 1007 1064 } 1008 1065 } 1009 1066 1067 1010 1068 indicoRequest( 1011 1069 'reviewing.conference.userCompetencesList', … … 1112 1170 function(result,error) { 1113 1171 if (!error) { 1172 if (!removeNoRefereeAlerts(checkedContributions, role)) { 1173 return; 1174 } 1114 1175 for (i in checkedContributions) { 1115 1176 contributionId = checkedContributions[i]; … … 1136 1197 function(result,error) { 1137 1198 if (!error) { 1199 if (!removeEditorAlerts(checkedContributions, role)) { 1200 return; 1201 } 1138 1202 for (i in checkedContributions) { 1139 1203 contributionId = checkedContributions[i]; -
indico/MaKaC/webinterface/tpls/ContributionDisplayFull.tpl
r334896 rac1609 106 106 <td></td> 107 107 <td> 108 <%=_("Note: Press this button to submit your materials for reviewing")%>.<br> 109 <%=_("By doing this you will lock your materials until they are reviewed")%>. 108 <%=_("By clicking on this button you will lock your materials until they are reviewed")%>. 110 109 </td> 111 110 <% end %> -
indico/MaKaC/webinterface/tpls/ContributionReviewingJudgements.tpl
r0c1608 rac1609 7 7 8 8 9 9 <div style="padding-left: 10px; padding-top: 10px"> 10 <em><%= _("The reviewing mode choosen for this conference is")%>: <%= ConferenceChoiceStr%></em> 11 </div> 10 12 <!-- Judgement of the editor --> 13 <% if ConferenceChoice == 3 or ConferenceChoice == 4:%> 11 14 <table width="90%%" align="center" border="0" style="margin-bottom: 1em; margin-top: 1em"> 12 15 <tr> … … 31 34 </tr> 32 35 </table> 36 <% end %> 33 37 34 38 <!-- List of advices from the reviewers --> 39 <% if ConferenceChoice == 2 or ConferenceChoice == 4:%> 35 40 <table width="90%%" align="center" border="0" style="margin-bottom: 1em"> 36 41 <tr> … … 59 64 </tr> 60 65 </table> 61 62 66 <% end %> 63 67 64 68 <!-- Final reviewing of the referee --> 69 <% if ConferenceChoice == 2 or ConferenceChoice == 4:%> 65 70 <table width="90%%" align="center" border="0" style="margin-bottom: 1em"> 66 71 <tr> … … 108 113 <% if not Review.getRefereeJudgement().isSubmitted(): %> 109 114 <tr> 110 <td colspan="2" align=" center">115 <td colspan="2" align="left"> 111 116 <span> 112 117 <%= _("This contribution has not been judged yet.")%><br> … … 117 122 <% end %> 118 123 <% end %> 119 120 <tr>121 <td nowrap class="titleCellTD" style="padding-top: 10px;"><span class="titleCellFormat"><strong><%= _("Judgement")%>:</strong></span></td>122 <td style="padding-top: 10px;">123 <div id="inPlaceEditJudgement"><strong><%= Review.getRefereeJudgement().getJudgement() %></strong></div>124 </td>125 </tr>126 124 <tr> 127 125 <td nowrap class="titleCellTD"> … … 135 133 <td> 136 134 <div id="inPlaceEditComments"></div> 135 </td> 136 </tr> 137 <tr> 138 <td nowrap class="titleCellTD"><span class="titleCellFormat"><strong><%= _("Judgement")%>:</strong></span></td> 139 <td> 140 <div id="inPlaceEditJudgement"><strong><%= Review.getRefereeJudgement().getJudgement() %></strong></div> 137 141 </td> 138 142 </tr> … … 155 159 156 160 </table> 161 <% end %> 157 162 158 163 <script type="text/javascript"> -
indico/MaKaC/webinterface/tpls/JudgeEditing.tpl
rc818e6 rac1609 8 8 </tr> 9 9 <tr> 10 <td nowrap class="titleCellTD"><span class="titleCellFormat"><%= _("Reviewing questions")%> </span></td>10 <td nowrap class="titleCellTD"><span class="titleCellFormat"><%= _("Reviewing questions")%>:</span></td> 11 11 <td width="60%%" id="criteriaListDisplay"> 12 </td> 13 </tr> 14 <tr> 15 <td nowrap class="titleCellTD"><span class="titleCellFormat"><%= _("Comments")%>:</span></td> 16 <td> 17 <div id="inPlaceEditComments"></div> 12 18 </td> 13 19 </tr> 14 20 <tr> 15 <td nowrap class="titleCellTD"><span class="titleCellFormat"> Judgement</span></td>21 <td nowrap class="titleCellTD"><span class="titleCellFormat"><strong><%= _("Judgement")%>:</strong></span></td> 16 22 <td> 17 23 <div id="inPlaceEditJudgement"><%= Editing.getJudgement() %></div> 18 24 </td> 19 25 </tr> 26 <% if not Editing.getJudgement(): %> 27 <% display = 'span' %> 28 <% end %> 29 <% else: %> 30 <% display = 'none' %> 31 <% end %> 20 32 <tr> 21 <td nowrap class="titleCellTD"><span class="titleCellFormat">Comments</span></td> 22 <td> 23 <div id="inPlaceEditComments"></div> 24 These comments, along with your judgement, will be sent by e-mail to the author(s) 25 </td> 26 </tr> 27 <tr> 28 <td colspan="10"> 33 <td colspan="10" style="padding-top: 20px;"> 29 34 <span id="submitbutton"></span> 30 35 <span id="submittedmessage"></span> … … 32 37 </tr> 33 38 </table> 34 35 39 36 40 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.
