Changeset ce685f 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, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
5c1ebb
Parents:
c0ad9d
git-author:
csvetelina.angelova@…> (02/15/10 15:33:10)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (10/04/10 17:17:56)
Message:

[IMP] shows the history review sorted

  • the reviews in history page are now sorted beginnig with the last one.
Location:
indico/MaKaC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/contributionReviewing.py

    rbbd8f7 rce685f  
    9393        return self._versioning[int(reviewId)] 
    9494     
     95    def getSortedVerioning(self):      
     96        versioning = self._versioning 
     97        versioning.sort(key = lambda c: c.getId(), reverse=True) 
     98        return versioning 
    9599     
    96100    def isInReviewingTeamforContribution(self, user): 
  • indico/MaKaC/webinterface/pages/contributionReviewing.py

    rbbd8f7 rce685f  
    260260         
    261261        vars["ConferenceChoice"] = self._conf.getConfReview().getChoice() 
    262         vars["Versioning"] = self._contribution.getReviewManager().getVersioning() 
    263  
    264         return vars 
     262        vars["Versioning"] = self._contribution.getReviewManager().getSortedVerioning() 
     263 
     264        return vars 
  • indico/MaKaC/webinterface/tpls/ContributionReviewingHistory.tpl

    rc0ad9d rce685f  
    44<% from MaKaC.conference import Link %> 
    55 
    6 <% Versioning.reverse() %> 
    76<% for review in Versioning: %> 
    87         
Note: See TracChangeset for help on using the changeset viewer.