1 <table width="90%" align="left" border="0">
3 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Name")}</span></td>
4 <td bgcolor="white" width="100%"><b>${ name }</b></td>
5 <td valign="bottom" rowspan="7" bgcolor="white" width="100%">
6 <form action=${ modifDataURL } method="POST">
7 <div style="text-align:right;">
8 <input type="submit" class="btn" value="${ _("Modify")}">
14 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Description")}</span></td>
15 <td bgcolor="white" width="100%"><b>${ description }</b></td>
18 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("From")}</span></td>
19 <td bgcolor="white" width="100%"><b>${ From }</b></td>
22 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("To addresses")}</span></td>
23 <td bgcolor="white" width="100%"><b>${ toAddrs }</b></td>
26 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Cc addresses")}</span></td>
27 <td bgcolor="white" width="100%"><b>${ CCAddrs }</b></td>
30 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Subject")}</span></td>
31 <td bgcolor="white" width="100%"><b>${ subject }</b></td>
34 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Body")}</span></td>
35 <td bgcolor="white" width="100%"><pre>${ body }</pre></td>
38 <td colspan="3" class="horizontalLine"> </td>
41 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Conditions")}</span></td>
42 <td width="100%" colspan="2">
45 <form action=${ remConditionsURL } method="POST">
46 <td width="100%" valign="top" style="min-width:145px;">
49 <input type="hidden" value="" name="selCond">
51 <td id="createConditionCell" align="right" valign="top">
52 <input id="createConditionButton" type="submit" class="btn" value="${ _("Add new condition")}">
54 <td id="createConditionDisplay" align="right" valign="top" valign="bottom" nowrap style="padding-bottom:10px; display:none;">
55 <div class="shadowRectangle" style="padding-right:15px;">
57 <form action=${ newConditionURL } method="POST">
59 <td colspan="2" style="text-align:center; padding-bottom:5px;">
60 <span class="groupTitleSmallPaper" style="border:0px; font-size:13px;">${ _("Choose the condition that triggers the email")}</span>
64 <td nowrap class="titleCellTD" style="padding-top:5px; width:70%;">
65 <span class="titleCellFormat"> ${ _("The email will be sent when the abstract is") }</span>
67 <td><select id="condTypeSelect" name="condType" onchange="checkSelectCondition();">${ availableConditions }</select></td>
69 <tr id="contribTypeSelect">
70 <td nowrap class="titleCellTDSecondLevel" style="padding-top:3px;"><span> ${ _("and the contribution type is") }</span></td>
71 <td style="padding-top:3px;">
72 <select name="contribType">
73 <option value="--any--">${ _("--any--") }</option>
74 <option value="--none--">${ _("--none--") }</option>
75 % for ct in contribTypeList:
76 <option value=${ quoteattr(ct.getId()) }> ${ ct.getName() } </option>
82 <td nowrap class="titleCellTDSecondLevel" style="padding-top:3px;"><span> ${ _("and the track is") }</span></td>
83 <td style="padding-top:3px;">
85 <option value="--any--">${ _("--any--") }</option>
86 <option value="--none--">${ _("--none--") }</option>
87 % for track in trackList:
88 <option value=${ quoteattr(track.getId()) }> ${ track.getTitle() } </option>
95 <td align="left" style="padding-top:5px;">
96 <input id="createButton" type="submit" class="btn" value="${ _("Create")}">
97 <button id="cancelButton" type="button">${ _("Cancel")}</button>
109 <td colspan="3" class="horizontalLine"> </td>
113 <script type="text/javascript">
115 $E('createConditionButton').observeClick(function() {
116 $E('createConditionCell').dom.style.display = 'none';
117 $E('createConditionDisplay').dom.style.display = '';
120 $E('cancelButton').observeClick(function() {
121 $E('createConditionDisplay').dom.style.display = 'none';
122 $E('createConditionCell').dom.style.display = '';
125 function checkSelectCondition() {
126 if ($E('condTypeSelect').dom.value != 'accepted') {
127 $E('contribTypeSelect').dom.style.display = 'none';
128 $E('trackSelect').dom.style.display = 'none';
130 $E('contribTypeSelect').dom.style.display = '';
131 $E('trackSelect').dom.style.display = '';
135 checkSelectCondition();