Changeset 96485d in indico
- Timestamp:
- 06/15/10 17:22:07 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- c44780
- Parents:
- e19e71
- git-author:
- Leszek Syroka <leszek.marek.syroka@…> (06/15/10 16:33:32)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (06/15/10 17:22:07)
- Location:
- indico/MaKaC/webinterface
- Files:
-
- 2 edited
-
pages/sessions.py (modified) (1 diff)
-
wcomponents.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/pages/sessions.py
r0f44e4 r96485d 876 876 else: 877 877 searchLocal = True 878 p = wcomponents.WComplexSelection(self._conf,searchAction, forceWithoutExtAuth=searchLocal)878 p = wcomponents.WComplexSelection(self._conf,searchAction, addTo = 5, forceWithoutExtAuth=searchLocal) 879 879 return p.getHTML(params) 880 880 -
indico/MaKaC/webinterface/wcomponents.py
re0ef1f r96485d 4002 4002 return wc.getHTML(p) 4003 4003 4004 class WSelectionBoxConvToManager :4004 class WSelectionBoxConvToManagerCoordinator: 4005 4005 4006 4006 def getHTML(self): 4007 4007 wc=WSelectionBox() 4008 4008 p={ 4009 "description": _(""" _("Please check the box if you want to add them as manager/s"):<br><br><i><font color=\"black\"><b> _("Note"): </b></font>_("If this person is not already an Indico user they will be sent an email asking them to create an account. After their registration the user will automatically be given session manager rights").</i><br>"""),\ 4010 "options": _("""<input type="checkbox" name="userRole" value="convener"> _("Add as session manager") 4009 "description": _(""" _("Please check the box if you want to add them as managers/coordinators"):"""),\ 4010 "options": _("""<input type="checkbox" name="managerControl"> _("Add as session manager")<br> 4011 <input type="checkbox" name="coordinatorControl"> _("Add as session coordinator") 4011 4012 """) 4012 4013 } … … 4041 4042 #addTo=3: show selection box to add session managers as session conveners 4042 4043 #addTo=4: show selection box to add submitter as speaker. This is just for meetings 4044 #addTo=5: show selection box to add submitter and/or manager rights for convener. 4043 4045 self._addTo=addTo 4044 4046 … … 4142 4144 elif self._addTo==4: 4143 4145 sb=WMSelectionBoxAuthors().getHTML() 4146 elif self._addTo==5: 4147 sb=WSelectionBoxConvToManagerCoordinator().getHTML() 4144 4148 vars["selectionBox"]=sb 4145 4149 vars["searchOptions"]="" … … 4212 4216 4213 4217 4214 def __init__(self, target, searchAction, forceWithoutExtAuth=False):4218 def __init__(self, target, searchAction, addTo = 0, forceWithoutExtAuth=False): 4215 4219 _title = _("Search for users") 4216 WUserSelection.__init__(self, searchAction, forceWithoutExtAuth=forceWithoutExtAuth)4220 WUserSelection.__init__(self, searchAction, addTo = addTo, forceWithoutExtAuth=forceWithoutExtAuth) 4217 4221 try: 4218 4222 self._conf = target.getConference()
Note: See TracChangeset
for help on using the changeset viewer.
