hello-world-walkthroughipv6v0.98-seriesv0.98.2v0.98.3v0.99v1.0v1.1
|
Last change
on this file since 5169f9 was
d4e4ef,
checked in by Jose Benito <jose.benito.gonzalez@…>, 13 months ago
|
|
[FIX] Fix review history display
|
-
Property mode set to
100644
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | <% import MaKaC.webinterface.urlHandlers as urlHandlers %> |
|---|
| 2 | <% from MaKaC.conference import LocalFile %> |
|---|
| 3 | <% from MaKaC.conference import Link %> |
|---|
| 4 | |
|---|
| 5 | % for review in Versioning: |
|---|
| 6 | % if review.getMaterials() and (( ConferenceChoice == 4 and review.getRefereeJudgement().isSubmitted() ) or ( ConferenceChoice == 3 and review.getEditorJudgement().isSubmitted())): |
|---|
| 7 | <div class="historyReview"> |
|---|
| 8 | <h1 class="historyReviewHeader">${ _("Review") } ${ review.getVersion() }</h1> |
|---|
| 9 | <h2>${_("Files")}</h2> |
|---|
| 10 | <ul style="list-style: none outside none; padding: 0 0 0 20px"> |
|---|
| 11 | % for m in review.getMaterials(): |
|---|
| 12 | % for res in m.getResourceList(): |
|---|
| 13 | <li><span style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;"> |
|---|
| 14 | <a href="${ urlHandlers.UHFileAccess.getURL(res) if isinstance(res, LocalFile) else res.getURL()}" target="_blank"> |
|---|
| 15 | ${ res.getName() } |
|---|
| 16 | </a> |
|---|
| 17 | (<span style="font-style:italic;">${_("Uploaded on")} ${res.getCreationDate().strftime("%d %b %Y %H:%M")}</span>) |
|---|
| 18 | </li> |
|---|
| 19 | % endfor |
|---|
| 20 | % endfor |
|---|
| 21 | </ul> |
|---|
| 22 | <div> |
|---|
| 23 | <h2>${_("Judgements")}</h2> |
|---|
| 24 | <%include file="ContributionReviewingDisplay.tpl" args="Editing = review.getEditorJudgement(), AdviceList = review.getReviewerJudgements(), Review = review, |
|---|
| 25 | ConferenceChoice = ConferenceChoice"/> |
|---|
| 26 | </div> |
|---|
| 27 | </div> |
|---|
| 28 | % endif |
|---|
| 29 | % endfor |
|---|
Note: See
TracBrowser
for help on using the repository browser.