source: indico/indico/MaKaC/webinterface/tpls/ContributionDisplayFull.tpl @ ac1609

burotelhello-world-walkthroughipv6v0.98-seriesv0.98.2v0.98.3v0.98b1v0.98b2v0.99v1.0v1.1
Last change on this file since ac1609 was ac1609, checked in by Jose Benito <jose.benito.gonzalez@…>, 3 years ago

[FIX] - different fixes in the PRM

  • there is the option to enable/disable the automatic e-mails when is added/removed a PRM.
  • Competences - depending on the reviewing mode not all of the reviewers are shown here. For example, if we have only the Layout Reviewing, will be shown only the Layout Reviewers and the PRM.
  • Team - there are now warning messages that the added/removed reviewers will receive an e-mails if the option is enabled from the Setup.
  • Assign Contributions - when we want to remove a Referee or Layout Reviewer from a contributions that don't have ones - there is an alert.
  • Judgements/Final? Judgements - depending on the reviewing mode are shown/not shown the Referee/Layout/Conten? Reviewers Judgements
  • layout fix - For Referee/Content/Layout? Reviewers - the field "Judgements"goes last, because this is the last this that they should do.
  • Display Manager - depending on the reviewing mode in the Display/My? Conference there are different link shown.
  • Property mode set to 100644
File size: 9.1 KB
Line 
1<% import MaKaC.webinterface.urlHandlers as urlHandlers %>
2
3<table width="100%%" align="center">
4
5<tr>
6  <td>
7    <table align="center" width="95%%" border="0" style="border: 1px solid #777777;">
8    <tr>
9      <td>&nbsp;</td>
10    </tr>
11    <tr>
12      <td>
13        <table align="center" width="95%%" border="0">
14        %(withdrawnNotice)s
15        <tr>
16          <td align="center">%(modifIcon)s<font size="+1" color="black"><b>%(title)s</b></font></td>
17        </tr>
18        <tr>
19          <td width="100%%">&nbsp;<td>
20        </tr>
21        <%
22          if not self._rh._target.getConference().getAbstractMgr().isActive() or not self._rh._target.getConference().hasEnabledSection("cfa") or not self._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField():
23        %>
24        <tr>
25          <td>
26            <table align="center">
27            <tr>
28              <td>%(description)s</td>
29            </tr>
30            </table>
31          </td>
32        </tr>
33        <tr>
34          <td width="100%%">&nbsp;<td>
35        </tr>
36    <%end%>
37        <tr>
38          <td>
39            <table align="center" width="90%%">
40                <%
41                if self._rh._target.getConference().getAbstractMgr().isActive() and self._rh._target.getConference().hasEnabledSection("cfa") and self._rh._target.getConference().getAbstractMgr().hasAnyEnabledAbstractField():
42                %>
43            %(additionalFields)s
44                <%end%>
45            <tr>
46              <td align="right" valign="top" class="displayField"><b><%= _("Id")%>:</b></td>
47              <td>%(id)s</td>
48            </tr>
49            %(location)s
50                    <tr>
51                        <td align="right" valign="top" class="displayField"><b><%= _("Starting date")%>:</b></td>
52                        <td width="100%%">
53                            <table cellspacing="0" cellpadding="0" align="left">
54                            <tr>
55                                <td align="right">%(startDate)s</td>
56                                <td>&nbsp;&nbsp;%(startTime)s</td>
57                            </tr>
58                            </table>
59                        </td>
60                    </tr>
61                    <tr>
62                        <td align="right" valign="top" class="displayField"><b><%= _("Duration")%>:</b></td>
63                        <td width="100%%">%(duration)s</td>
64                    </tr>
65                                        %(contribType)s
66                                        %(primaryAuthors)s
67                                        %(coAuthors)s
68                    %(speakers)s
69                    <% if Contribution.canUserSubmit(self._aw.getUser()) or Contribution.canModify(self._aw): %>
70                        <td class="displayField" nowrap="" align="right" valign="top">
71                            <b><%=_("Material")%>:</b>
72                        </td>
73                        <td width="100%%" valign="top" style="padding-top:5px;">
74                            <%=MaterialList%>
75                        </td>
76                    <% end %>
77                    <% else: %>
78                        %(material)s
79                    <% end %>
80                                        <tr><td>&nbsp;</td></tr>
81                    %(inSession)s
82                    %(inTrack)s
83                                        <tr><td>&nbsp;</td></tr>
84                    %(subConts)s
85                    <% if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfReview().hasReviewing() : %>
86                        <% if Contribution.canUserSubmit(self._aw.getUser()) or Contribution.canModify(self._aw): %>
87                        <tr><td align="right" valign="top" class="displayField" style="border-right:5px solid #FFFFFF;" nowrap>
88                                <b><%=_("Reviewing materials")%>:</b>
89                            </td>
90                            <td>
91                                <%=ReviewingMatList%>
92                            </td>
93                        </tr>
94                        <tr>
95                            <td align="right" valign="top" class="displayField" style="border-right:5px solid #FFFFFF;" nowrap>
96                                <b><%=_("Reviewing status")%>:</b>
97                            </td>
98                            <% if not Contribution.getReviewManager().getLastReview().isAuthorSubmitted(): %>
99                                    <td>
100                                        <form action="<%=urlHandlers.UHContributionSubmitForRewiewing.getURL(Contribution)%>" method="POST">
101                                            <input type="submit" class="btn" value="Send materials" >
102                                        </form>
103                                    </td>
104                                </tr>
105                                <tr>
106                                    <td></td>
107                                    <td>
108                                        <%=_("By clicking on this button you will lock your materials until they are reviewed")%>.
109                                    </td>
110                            <% end %>
111                            <% else: %>
112                                    <td style="border-left:5px solid #FFFFFF;">
113                                        <%= "<br>".join(Contribution.getReviewManager().getLastReview().getReviewingStatus(forAuthor = True)) %>
114                                    </td>
115                                </tr>
116                                <tr><td>&nbsp;</td></tr>
117                                <% if  Contribution.getConference().getConfReview().getChoice() == 3: %>
118                                    <% if not Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted():%>
119                                        <% display = 'table' %>
120                                    <% end %>
121                                    <% else: %>
122                                        <% display = 'none' %>
123                                    <% end %>
124                                <% end %>
125                                <% if Contribution.getConference().getConfReview().getChoice() == 2: %>
126                                    <% if not (Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice()): %>
127                                        <% display = 'table' %>
128                                    <% end %>
129                                    <% else: %>
130                                        <% display = 'none' %>
131                                    <% end %>
132                                <% end %>
133                                <% if  Contribution.getConference().getConfReview().getChoice() == 4: %>
134                                    <% if not (Contribution.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or Contribution.getReviewManager().getLastReview().anyReviewerHasGivenAdvice() or Contribution.getReviewManager().getLastReview().getEditorJudgement().isSubmitted()): %>                             
135                                        <% display = 'table' %>
136                                    <% end %>
137                                    <% else: %>
138                                        <% display = 'none' %>
139                                    <% end %>
140                                <% end %>
141                                   <tr><td>&nbsp;</td></tr>
142                                    <table align="center" style="display:<%=display%>">
143                                    <tr>
144                                        <td colspan="2" align="center">
145                                            <form action="<%=urlHandlers.UHContributionRemoveSubmittedMarkForReviewing.getURL(Contribution)%>" method="POST">
146                                                <input type="submit" class="btn" value="UNDO sending" >
147                                            </form>
148                                        </td>
149                                    <tr>
150                                        <td colspan="2" align="left">
151                                            <font>
152                                                <%=_("Press this button only if you made some mistake when submitting the materials")%>.<br>
153                                                <%=_("The reviewing team will be notified and the reviewing process will be stopped until you mark the materials as submitted again")%>.
154                                            </font>
155                                        </td>
156                                     </table>
157                            <% end %>
158                        </tr>
159                        <% end %>
160                    <% end %>
161                 </table>
162                 </td>
163              </tr>
164              <tr><td>%(reviewingStuffDisplay)s</td></tr>
165              <tr><td>&nbsp;</td></tr>
166              <tr><td>&nbsp;</td></tr>
167              <% if Contribution.getConference() and Contribution.getConference().hasEnabledSection('paperReviewing') and Contribution.getConference().getConfReview().hasReviewing() and len(Contribution.getReviewManager().getVersioning()) > 1: %>
168                  <tr>
169                      <td align="center" class="displayField" nowrap>
170                            <b><%=_("Reviewing history")%></b>
171                      </td>
172                  </tr>
173                  <tr>
174                      <td colspan="2">
175                           %(reviewingHistoryStuffDisplay)s
176                      </td>
177                  </tr>
178              <% end %>
179              </table>
180           </td>
181        </tr>
182
183        </table>
184    </td>
185</tr>
186</table>
Note: See TracBrowser for help on using the repository browser.