Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1085

Make user properties used in notification email configurable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.4.0
    • Component/s: Notifications
    • Labels:
      None

      Description

      Emails sent via notifications use the modifiers firstname and lastname hardcoded. In some setups it would also be usefull to have the email, username oder other user properties.

      To make this configurable the following has to be done:

      • Add user properties with key org.olat.core.commons.services.notifications.NotificationHelper to file src/main/java/org/olat/user/propertyhandlers/_spring/userPropertiesContext.xml
      • Add translation key user.formatted to translation package src/main/java/org/olat/core/commons/services/notifications/ui/_i18n/

        Attachments

          Activity

            People

            Assignee:
            gnaegi Florian Gnägi
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Kirsten Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h