Changeset 7be1ea in indico


Ignore:
Timestamp:
02/22/12 17:56:17 (15 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
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)
Message:

[FIX] Shoe reject all conflicts out of summary

Location:
indico
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/RoomBooking/default/room.py

    rda7f35 r7be1ea  
    173173    def getUserRooms(cls, avatar): 
    174174        return Catalog.getIdx('user_room').get(avatar.getId()) 
    175         #return rooms if rooms else OOSet() 
    176175 
    177176    # Typical actions 
  • indico/MaKaC/webinterface/tpls/ConferenceParticipantsPending.tpl

    r9b838e r7be1ea  
    170170            var body = 'Dear {name},<br/><br/>' + 
    171171                        '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.')}; 
    174174            var popup = new ParticipantsEmailPopup($T("Send mail to the participants"),"${conf.getTitle()}", ${conf.getId()}, 'event.participation.rejectPendingWithEmail', participantsChecked, '${currentUser.getStraightFullName()}' ,subject, body, legends, pendingHandler); 
    175175            popup.open(); 
  • indico/MaKaC/webinterface/tpls/ConferenceParticipantsSetup.tpl

    rfecba0 r7be1ea  
    77</tr> 
    88<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> 
    1010    <td> 
    1111        <div id="inPlaceEditAddedInfo"></div> 
     
    1414 
    1515<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> 
    1717    <td class="blacktext"> 
    1818        <div id="inPlaceEditDisplay"></div> 
     
    2020</tr> 
    2121<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> 
    2323    <td class="blacktext"> 
    2424        <div id="inPlaceEditAllowForApply"></div> 
     
    2626</tr> 
    2727<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> 
    2929    <td class="blacktext"> 
    3030        <div id="inPlaceEditAutoAccept"></div> 
     
    3232</tr> 
    3333<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> 
    3535    <td class="blacktext"> 
    36         <div id="inPlaceEditNumMaxParticipants"></div> 
     36        <div id="inPlaceEditNumMaxParticipants" style="display:inline;"></div> 
    3737    </td> 
    3838</tr> 
     
    5050            Html.img({src:imageSrc("enabledSection.png")}), Html.img({src:imageSrc("disabledSection.png")}), "event.participation.autopAccept", "event.participation.autopAccept",{confId:${confId}}).draw().dom)); 
    5151    $("#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")}', 
    5353            null).draw().dom); 
    5454 
  • indico/MaKaC/webinterface/wcomponents.py

    r70c19a r7be1ea  
    57645764        vars["title"] = self._title 
    57655765        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") 
    57675767        else : 
    5768             vars["noResultsMsg"] = _("There are no rooms with this search criteria.") 
     5768            vars["noResultsMsg"] = _("There are no rooms with this search criteria") 
    57695769 
    57705770        if self._standalone: 
  • indico/htdocs/js/indico/RoomBooking/RoomBookingCalendar.js

    r60708b r7be1ea  
    608608                this.barsDiv = Html.div({}, this.drawBars("name")); 
    609609 
    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); 
    623611            }, 
    624612 
     
    653641                    }) 
    654642                    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, 
    656657                            Html.div({style:{background:"#F5F5F5", width:pixels(820), textAlign:'center', padding: pixels(10)}},toggleSummary, arrowDown), content); 
    657658                } 
Note: See TracChangeset for help on using the changeset viewer.