Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Portrait comes with email templates that are used in the following scenarios:

  • Automatic Registration - automaticRegistration.html

  • Forgot Password - forgot.html

  • Forget Password send from an Admin - requestPasswordResetAdmin.html

  • Invite - invite.html

  • RegistrationWithOneTimePassword - registrationWithOneTimePassword.html

  • Successful registration - success.html

  • Account verification

  • Access granted

  • - verify.html

These templates are styled based on the portrait colors. You can fully customize the appearance of these emails. The templates are located in: /app/config/email-templates

Inside the templates, you can use a property based replacement using the following placeholder:

...

formats:

  • {{placeholder_key}}

  • ${placeholder_key} - SINCE 6.X

Placeholder - Key

Based on

Example

General Settings

{{

applicationName

}}

config application.name

Portrait App

{{

applicationOwner

}}

config application.owner

Treskon GmbH

{{

serverUrl

}}

config application.url

https://portrait.customer.com

{{

mapping

}}

call to action - based on the situation

Theme Settings - Since 6.x

logoUrl

config application.theme.logoUrl

/icons/logo-full.svg

heroUrl

config application.theme.heroUrl

/icons/logo-hero.svg

rasterLogoUrl

config application.theme.rasterLogoUrl

/icons/logo-raster.png

highlightColor

config application.theme.highlightColor

#357aeb

globalBackgroundColor

config application.theme.globalBackgroundColor

#f8f8f8

globalFontColor

config application.theme.globalFontColor

#282b34

menuBackgroundColor

config application.theme.menuBackgroundColor

#ffffff

menuFontColor

config application.theme.menuFontColor

#ffffff