Changeset 511011 in indico
- Timestamp:
- 10/04/10 17:17:56 (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, 4c7d4152dff271ba5df5a8606605969cab454080
- Children:
- e5cb23
- Parents:
- 2cc959
- git-author:
- csvetelina.angelova@…> (03/01/10 15:12:42)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (10/04/10 17:17:56)
- Location:
- indico/MaKaC/webinterface
- Files:
-
- 4 edited
-
pages/contributions.py (modified) (2 diffs)
-
tpls/ContributionReviewingJudgements.tpl (modified) (1 diff)
-
tpls/GiveAdvice.tpl (modified) (2 diffs)
-
tpls/JudgeEditing.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/pages/contributions.py
r5596fa r511011 416 416 if (confReviewChoice == 3 or confReviewChoice == 4) and \ 417 417 self._contrib.getReviewManager().isEditor(self._rh._getUser()) and \ 418 <<<<<<< HEAD:indico/MaKaC/webinterface/pages/contributions.py419 418 (not self._contrib.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or confReviewChoice == 3) and \ 420 419 self._contrib.getReviewManager().getLastReview().isAuthorSubmitted(): 421 <<<<<<< HEAD:indico/MaKaC/webinterface/pages/contributions.py422 423 self._tabJudgeEditing = self._tabCtrl.newTab( "editing", "Editing", \424 =======425 =======426 (not self._contrib.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or confReviewChoice == 3):427 >>>>>>> [IMP] - if materials not submitted - no exception:indico/MaKaC/webinterface/pages/contributions.py428 420 429 421 self._tabJudgeEditing = self._subtabReviewing.newSubTab( "editing", "Judge Layout", \ 430 >>>>>>> [DEVELOPMENT] - new subtabs + other:indico/MaKaC/webinterface/pages/contributions.py 431 urlHandlers.UHContributionEditingJudgement.getURL(self._target) ) 422 urlHandlers.UHContributionEditingJudgement.getURL(self._target) ) 432 423 433 424 if (confReviewChoice == 2 or confReviewChoice == 4) and \ … … 471 462 banner = wcomponents.WContribListBannerModif(self._target).getHTML() 472 463 body = wcomponents.WTabControl( self._tabCtrl, self._getAW() ).getHTML( self._getTabContent( params ) ) 473 <<<<<<< HEAD:indico/MaKaC/webinterface/pages/contributions.py474 464 return banner + body 475 465 476 =======477 466 if not self._canModify or self._isPRM: 478 467 return body 479 468 else: 480 469 return banner + body 481 482 >>>>>>> [FIXES] - task #108 + small layout fixes:indico/MaKaC/webinterface/pages/contributions.py 470 483 471 484 472 class WPContribModifMain( WPContributionModifBase ): -
indico/MaKaC/webinterface/tpls/ContributionReviewingJudgements.tpl
rc0ad9d r511011 213 213 function(result, error){ 214 214 if (!error) { 215 $E('inPlaceEditComments').set(result) 216 $E('commentsMessage').set('') 215 if(result.length == 0){ 216 $E('inPlaceEditComments').set($T('No comments given.')); 217 } else { 218 $E('inPlaceEditComments').set(result) 219 } 217 220 } 218 221 } -
indico/MaKaC/webinterface/tpls/GiveAdvice.tpl
r89ef8e r511011 59 59 </td> 60 60 </tr> 61 <% end %>62 61 </table> 63 62 … … 129 128 function(result, error){ 130 129 if (!error) { 131 $E('inPlaceEditComments').set(result) 132 $E('commentsMessage').set('') 130 if(result.length == 0){ 131 $E('inPlaceEditComments').set($T('No comments given.')); 132 } else { 133 $E('inPlaceEditComments').set(result) 134 } 133 135 } 134 136 } -
indico/MaKaC/webinterface/tpls/JudgeEditing.tpl
r89ef8e r511011 138 138 function(result, error){ 139 139 if (!error) { 140 $E('inPlaceEditComments').set(result); 140 if(result.length == 0){ 141 $E('inPlaceEditComments').set($T('No comments given.')); 142 } else { 143 $E('inPlaceEditComments').set(result) 144 } 141 145 } 142 146 }
Note: See TracChangeset
for help on using the changeset viewer.
