Changeset 4d8700 in indico


Ignore:
Timestamp:
07/29/11 17:33:42 (22 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
df7cbd
Parents:
c515e8f
git-author:
Alexis Castilla Hernandez <alexis.castilla.hernandez@…> (04/08/11 12:14:03)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (07/29/11 17:33:42)
Message:

[IMP] Link in Setup word. PR

  • Set "Setup" word in PR Team page as a link to the PR setup page.
  • Included also some links to setup page when there is no paper reviewing option selected.
  • Ticket #357
Location:
indico/MaKaC/webinterface
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/pages/reviewing.py

    r117312 r4d8700  
    334334 
    335335        if self._conf.getConfPaperReview().getChoice() == CPR.NO_REVIEWING: 
    336             return """<table align="left"><tr><td>Type of reviewing has not been chosen yet</td></tr></table>""" 
     336            message = _("Type of reviewing has not been chosen yet. You can choose it from Paper Reviewing ") 
     337            setupText = _("Setup.") 
     338            return """<table align="left"><tr><td style="padding-left: 25px; padding-top:10px; color:gray;"> 
     339                    %s 
     340                    <a href="%s">%s</a></td></tr></table>"""% (message, urlHandlers.UHConfModifReviewingPaperSetup.getURL(self._conf), setupText) 
    337341        else: 
    338342            rcPRM = WConfModificationReviewingFramePRM().getHTML(self._conf, \ 
  • indico/MaKaC/webinterface/tpls/ConfModifUserCompetences.tpl

    rc0de5a r4d8700  
    22 
    33% if not ConfReview.hasReviewing(): 
    4 <p style="padding-left: 25px;"><font color="gray">${ _("Type of reviewing has not been chosen yet")}</font></p> 
     4<p style="padding-left: 25px; color:gray;">${ _("Type of reviewing has not been chosen yet. You can choose it from Paper Reviewing ")}<a href="${urlHandlers.UHConfModifReviewingPaperSetup.getURL(ConfReview.getConference())}">${ _("Setup.")}</a></p> 
    55% elif ConfReview.getAllUserCompetences() == []: 
    66<table align="left" style="color:gray; font-style:italic; padding-left:10px;"><tr><td>${ _("The Reviewing Team has not been assigned yet.")}</td></tr></table> 
  • indico/MaKaC/webinterface/tpls/ConfModificationReviewingFrame.tpl

    rc0de5a r4d8700  
    1313    <tr> 
    1414        <td style="padding-left: 25px; padding-top:10px; color:gray;"> 
    15             <span>${ _("Type of reviewing has not been chosen yet.")}</span> 
     15            <span>${ _("Type of reviewing has not been chosen yet. You can choose it from Paper Reviewing ")}<a href="${urlHandlers.UHConfModifReviewingPaperSetup.getURL(ConfReview.getConference())}">${ _("Setup.")}</a></span> 
    1616        </td> 
    1717    </tr> 
     
    2222                <div style="padding:5px; color:gray;"> 
    2323                    <span class="collShowBookingsText">${_("An automatically generated e-mail will be sent to newly assigned Reviewers.")}</span><br> 
    24                     <span class="collShowBookingsText">${ _("You  can  modify this from the Paper Reviewing Setup.")}</span> 
     24                    <span class="collShowBookingsText">${ _("You  can  modify this from the Paper Reviewing ")}<a href="${urlHandlers.UHConfModifReviewingPaperSetup.getURL(ConfReview.getConference())}">${ _("Setup.")}</a></span> 
    2525                </div> 
    2626            % endif 
  • indico/MaKaC/webinterface/tpls/ConfModificationReviewingFramePRM.tpl

    rc0de5a r4d8700  
    1212                <div style="padding:5px; color:gray;"> 
    1313                    <span class="collShowBookingsText">${_("An automatically generated e-mail will be sent to newly assigned Paper Review Managers.")}</span><br> 
    14                     <span class="collShowBookingsText">${ _("You  can  modify this from the Paper Reviewing Setup.")}</span> 
     14                    <span class="collShowBookingsText">${ _("You  can  modify this from the Paper Reviewing ")}<a href="${ urlHandlers.UHConfModifReviewingPaperSetup.getURL(ConfReview.getConference()) }">${ _("Setup.")}</a></span> 
    1515                </div> 
    1616            % endif 
  • indico/MaKaC/webinterface/tpls/ConfReviewingAssignContributions.tpl

    rc17e12 r4d8700  
    77<% color = '' %> 
    88% if not ConfReview.hasReviewing(): 
    9 <p style="padding-left: 25px;"><font color="gray">${ _("Type of reviewing has not been chosen yet")}</font></p> 
     9<p style="padding-left: 25px; color:gray;">${ _("Type of reviewing has not been chosen yet. You can choose it from Paper Reviewing ")}<a href="${urlHandlers.UHConfModifReviewingPaperSetup.getURL(ConfReview.getConference())}">${ _("Setup.")}</a></p> 
    1010% else: 
    1111% if len(Conference.getContributionListSortedById()) == 0: 
Note: See TracChangeset for help on using the changeset viewer.