Changeset 17797 for main/waeup.aaue


Ignore:
Timestamp:
21 May 2024, 20:04:52 (4 months ago)
Author:
Henrik Bettermann
Message:

Customize certificate title.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py

    r17663 r17797  
    383383        for key, val in users:
    384384            yield(dict(name=key, val="%s - %s" % (val.name, val.title)))
     385
     386    def getCertTitle(self, context, value):
     387        """Compose the titles in `CertificateSource`.
     388        """
     389        return "%s - %s" % (value.code.strip('-'), value.title)
Note: See TracChangeset for help on using the changeset viewer.