source: indico/indico/MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl @ 7be1ea

hello-world-walkthroughipv6v0.98-seriesv0.98.2v0.98.3v0.99v1.0v1.1
Last change on this file since 7be1ea was 7be1ea, checked in by Jose Benito <jose.benito.gonzalez@…>, 15 months ago

[FIX] Shoe reject all conflicts out of summary

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<table>
2<tr>
3   <td nowrap colspan="10">
4        <div class="CRLgroupTitleNoBorder">${ _("Participation setup") }
5        </div>
6    </td>
7</tr>
8<tr>
9    <td style="padding-right:15px">${ _(" When a participant is added, an email notification will be sent to him")}</td>
10    <td>
11        <div id="inPlaceEditAddedInfo"></div>
12    </td>
13</tr>
14
15<tr>
16    <td style="padding-right:15px">${ _("The list of participants is displayed on the event page")}</td>
17    <td class="blacktext">
18        <div id="inPlaceEditDisplay"></div>
19    </td>
20</tr>
21<tr>
22    <td style="padding-right:15px">${ _("Users may apply to participate in this event")}</td>
23    <td class="blacktext">
24        <div id="inPlaceEditAllowForApply"></div>
25    </td>
26</tr>
27<tr>
28    <td style="padding-right:15px">${ _("Participation requests must be approved by the event managers (you)")}</td>
29    <td class="blacktext">
30        <div id="inPlaceEditAutoAccept"></div>
31    </td>
32</tr>
33<tr>
34    <td style="padding-right:15px">${ _("Maximum number of participants (0 means unlimited)")}</td>
35    <td class="blacktext">
36        <div id="inPlaceEditNumMaxParticipants" style="display:inline;"></div>
37    </td>
38</tr>
39</table>
40
41<script type="text/javascript">
42IndicoUI.executeOnLoad(function(){
43    $("#inPlaceEditAddedInfo").append($(new RemoteSwitchButton(${"true" if addedInfo else "false"},
44            Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.addedInfo", "event.participation.addedInfo",{confId:${confId}}).draw().dom));
45    $("#inPlaceEditDisplay").append($(new RemoteSwitchButton(${"true" if allowDisplay else "false"},
46            Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.allowDisplay", "event.participation.allowDisplay",{confId:${confId}}).draw().dom));
47    $("#inPlaceEditAllowForApply").append($(new RemoteSwitchButton(${"true" if allowForApply else "false"},
48            Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.allowForApply", "event.participation.allowForApply",{confId:${confId}}).draw().dom));
49    $("#inPlaceEditAutoAccept").append($(new RemoteSwitchButton(${"false" if autoAccept else "true"},
50            Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.autopAccept", "event.participation.autopAccept",{confId:${confId}}).draw().dom));
51    $("#inPlaceEditNumMaxParticipants").append(new InputEditWidget('event.participation.setNumMaxParticipants',
52            {confId:${confId}}, ${ jsonEncode(numMaxParticipants) }, false, null, function(value){return IndicoUtil.isInteger(value);}, '${_("The value set is not a positive number")}', '${_("Please insert a positive number or 0 for unlimited")}',
53            null).draw().dom);
54
55   });
56</script>
Note: See TracBrowser for help on using the repository browser.