Changeset 7be1ea in indico
- Timestamp:
- 02/22/12 17:56:17 (15 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 01912d
- Parents:
- 70c19a
- git-author:
- Alberto Resco Perez <alberto.resco.perez@…> (02/22/12 16:18:05)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (02/22/12 17:56:17)
- Location:
- indico
- Files:
-
- 5 edited
-
MaKaC/plugins/RoomBooking/default/room.py (modified) (1 diff)
-
MaKaC/webinterface/tpls/ConferenceParticipantsPending.tpl (modified) (1 diff)
-
MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl (modified) (6 diffs)
-
MaKaC/webinterface/wcomponents.py (modified) (1 diff)
-
htdocs/js/indico/RoomBooking/RoomBookingCalendar.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/RoomBooking/default/room.py
rda7f35 r7be1ea 173 173 def getUserRooms(cls, avatar): 174 174 return Catalog.getIdx('user_room').get(avatar.getId()) 175 #return rooms if rooms else OOSet()176 175 177 176 # Typical actions -
indico/MaKaC/webinterface/tpls/ConferenceParticipantsPending.tpl
r9b838e r7be1ea 170 170 var body = 'Dear {name},<br/><br/>' + 171 171 'your request to attend the \'{confTitle}\' has been declined by the event manager.<br/>'; 172 var legends = {'confTitle':$T('field containing the conference title. (This field is mandatory)'),173 'name':$T('field containing the full name of the participant. (This field is mandatory)')};172 var legends = {'confTitle':$T('field containing the conference title.'), 173 'name':$T('field containing the full name of the participant.')}; 174 174 var popup = new ParticipantsEmailPopup($T("Send mail to the participants"),"${conf.getTitle()}", ${conf.getId()}, 'event.participation.rejectPendingWithEmail', participantsChecked, '${currentUser.getStraightFullName()}' ,subject, body, legends, pendingHandler); 175 175 popup.open(); -
indico/MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl
rfecba0 r7be1ea 7 7 </tr> 8 8 <tr> 9 <td style="padding-right:15px">${ _(" When a participant is added, an email notification will be sent to him .")}</td>9 <td style="padding-right:15px">${ _(" When a participant is added, an email notification will be sent to him")}</td> 10 10 <td> 11 11 <div id="inPlaceEditAddedInfo"></div> … … 14 14 15 15 <tr> 16 <td style="padding-right:15px">${ _("The list of participants is displayed on the event page .")}</td>16 <td style="padding-right:15px">${ _("The list of participants is displayed on the event page")}</td> 17 17 <td class="blacktext"> 18 18 <div id="inPlaceEditDisplay"></div> … … 20 20 </tr> 21 21 <tr> 22 <td style="padding-right:15px">${ _("Users may apply to participate in this event .")}</td>22 <td style="padding-right:15px">${ _("Users may apply to participate in this event")}</td> 23 23 <td class="blacktext"> 24 24 <div id="inPlaceEditAllowForApply"></div> … … 26 26 </tr> 27 27 <tr> 28 <td style="padding-right:15px">${ _("Participation requests must be approved by the event managers (you) .")}</td>28 <td style="padding-right:15px">${ _("Participation requests must be approved by the event managers (you)")}</td> 29 29 <td class="blacktext"> 30 30 <div id="inPlaceEditAutoAccept"></div> … … 32 32 </tr> 33 33 <tr> 34 <td style="padding-right:15px">${ _("Maximum number of participants .")}</td>34 <td style="padding-right:15px">${ _("Maximum number of participants (0 means unlimited)")}</td> 35 35 <td class="blacktext"> 36 <div id="inPlaceEditNumMaxParticipants" ></div>36 <div id="inPlaceEditNumMaxParticipants" style="display:inline;"></div> 37 37 </td> 38 38 </tr> … … 50 50 Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.autopAccept", "event.participation.autopAccept",{confId:${confId}}).draw().dom)); 51 51 $("#inPlaceEditNumMaxParticipants").append(new InputEditWidget('event.participation.setNumMaxParticipants', 52 {confId:${confId}}, ${ jsonEncode(numMaxParticipants) }, 0,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")}',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 53 null).draw().dom); 54 54 -
indico/MaKaC/webinterface/wcomponents.py
r70c19a r7be1ea 5764 5764 vars["title"] = self._title 5765 5765 if self._onlyMy: 5766 vars["noResultsMsg"] = _("You are not the owner of any room .")5766 vars["noResultsMsg"] = _("You are not the owner of any room") 5767 5767 else : 5768 vars["noResultsMsg"] = _("There are no rooms with this search criteria .")5768 vars["noResultsMsg"] = _("There are no rooms with this search criteria") 5769 5769 5770 5770 if self._standalone: -
indico/htdocs/js/indico/RoomBooking/RoomBookingCalendar.js
r60708b r7be1ea 608 608 this.barsDiv = Html.div({}, this.drawBars("name")); 609 609 610 if (this.rejectAllLink) { 611 var rejectAllDiv = Html.div({className:"fakeLink", style:{width:pixels(820), textAlign:"center"}}, 612 $T("Reject ALL Conflicting PRE-Bookings")); 613 rejectAllDiv.observeClick( function(){ 614 new ConfirmPopup($T("Reject ALL Conflicting PRE-Bookings"), 615 Html.div({},$T('Are you sure you want to REJECT ALL conflicting PRE-bookings?')), 616 function(value) { 617 if(value) 618 window.location = self.rejectAllLink; 619 }).open(); 620 }); 621 } 622 return Html.div({}, header, this.barsDiv, rejectAllDiv); 610 return Html.div({}, header, this.barsDiv); 623 611 }, 624 612 … … 653 641 }) 654 642 content = Html.div({}); 655 return Html.div({style:{clear:'both', marginTop: pixels(45)}}, 643 var rejectAllDiv = null; 644 if (this.rejectAllLink) { 645 rejectAllDiv = Html.div({className:"fakeLink", style:{width:pixels(820), textAlign:"center", paddingBottom:pixels(10)}}, 646 $T("Reject ALL Conflicting PRE-Bookings")); 647 rejectAllDiv.observeClick( function(){ 648 new ConfirmPopup($T("Reject ALL Conflicting PRE-Bookings"), 649 Html.div({},$T('Are you sure you want to REJECT ALL conflicting PRE-bookings?')), 650 function(value) { 651 if(value) 652 window.location = self.rejectAllLink; 653 }).open(); 654 }); 655 } 656 return Html.div({style:{clear:'both', marginTop: pixels(45)}},rejectAllDiv, 656 657 Html.div({style:{background:"#F5F5F5", width:pixels(820), textAlign:'center', padding: pixels(10)}},toggleSummary, arrowDown), content); 657 658 }
Note: See TracChangeset
for help on using the changeset viewer.
