Changeset 17376 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 6 Apr 2023, 17:29:31 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r17211 r17376 284 284 TEMP_PASSWORD_MINUTES = 10 285 285 286 def sortCertificates(self, context, resultset): 287 """Sort already filtered certificates in `CertificateSource`. 288 """ 289 return sorted(resultset, key=lambda value: value.code) 290 291 def getCertTitle(self, context, value): 292 """Compose the titles in `CertificateSource`. 293 """ 294 return "%s - %s" % (value.code, value.title) 295 286 296 def sendContactForm(self, from_name, from_addr, rcpt_name, rcpt_addr, 287 297 from_username, usertype, portal, body, subject,
Note: See TracChangeset for help on using the changeset viewer.