Changeset 586084c in indico for indico/MaKaC/webinterface/rh/conferenceModif.py
- Timestamp:
- 03/17/10 12:20:17 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
- Children:
- 2347fd
- Parents:
- 159c54
- git-author:
- Leszek Syroka <leszek.marek.syroka@…> (03/05/10 10:35:34)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (03/17/10 12:20:17)
- File:
-
- 1 edited
-
indico/MaKaC/webinterface/rh/conferenceModif.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/rh/conferenceModif.py
r9a7862 r586084c 2198 2198 selectedList = self._normaliseListParam(self._getRequestParams().get("participants",[])) 2199 2199 2200 if action == "Remove participant":2200 if action == _("Remove participant") : 2201 2201 for id in selectedList : 2202 2202 self._conf.getParticipation().removeParticipant(id, self._getUser()) 2203 elif action == "Mark absence":2203 elif action == _("Mark absence") : 2204 2204 for id in selectedList : 2205 2205 participant = self._conf.getParticipation().getParticipantById(id) 2206 2206 participant.setAbsent() 2207 elif action == "Mark present":2207 elif action == _("Mark present"): 2208 2208 for id in selectedList : 2209 2209 participant = self._conf.getParticipation().getParticipantById(id) 2210 2210 participant.setPresent() 2211 elif action == "Ask for excuse":2211 elif action == _("Ask for excuse") : 2212 2212 data = self._conf.getParticipation().prepareAskForExcuse(self._getUser(), selectedList) 2213 2213 if data is not None : … … 2234 2234 errorList.append( _(""" - None of the selected participants was absent in the event""")) 2235 2235 errorList.append( _(""" - None of the selected participants has an email address specified""")) 2236 elif action == "Excuse absence":2236 elif action == _("Excuse absence") : 2237 2237 for id in selectedList : 2238 2238 participant = self._conf.getParticipation().getParticipantById(id) … … 2240 2240 errorList.append( _("""You cannot excuse absence of %s %s %s - this participant was present 2241 2241 in the event""")%(participant.getTitle(), participant.getFirstName(), participant.getFamilyName())) 2242 elif action == "Send email to":2242 elif action == _("Send email to") : 2243 2243 toList = [] 2244 2244 for id in selectedList : … … 2267 2267 self._req.headers_out["Content-Disposition"] = """inline; filename="%s\""""%filename 2268 2268 return data 2269 elif action == "Inform about adding":2269 elif action == _("Inform about adding") : 2270 2270 selected = [] 2271 2271 for id in selectedList :
Note: See TracChangeset
for help on using the changeset viewer.
