New template variables in files
...
Info |
---|
The Email templates can be found in the Server Maintenance Folder which is available for the Server Admin in the folder list. Each Email consists of a subject translation key (like mail.subject.add_email_address in #Translator.properties) and a Content.vm. The template files can be edited with any HTML Editor and HTML and CSS can be used as you wish and the translation files are basically just plain text. |
...
Variable name | Example | Description | Template |
---|---|---|---|
Dropped with v11.4 SP4
|
| The language of the inviting account. Replaced by |
|
loginURL | https://example.com/login | The URL of the service to login. | folder_invitation.vm |
folderURL |
| The URL to the folder. If the feature "Enable accepting new folder shares" is enabled, the folderURL only contains the base URL to all folders of the target account. | folder_invitation.vm |
senderAccount | The Account Object (see the source code for all methods) of the sender. | folder_invitation.vm | |
senderUsername | gz21419 | The sender account's username. |
|
senderName | Max Mustermann | The sender account's display name. |
|
recipient recipientUsername | Erika Musterfrau | The target account's username. |
|
| The Account Object (see the source code for all methods) of the recipient. With this object, it is possible to call all methods, the Account class provides. For Example would a $targetAccount$ result in the display name of this account. | folder_invitation.vm | |
|
| Either the target account's display name or username, depending on hasTargetAccount .If targetAccount is set, targetName contains the display name, if targetAccount is not set, targetName contains the username. |
|
newAccount |
| Whether the target account was newly created via invitation. | folder_invitation.vm |
password |
| For For |
|
folder |
| Contains the localized name of the folder (legacy). | folder_invitation.vm |
folderName |
| Contains the localized name of the folder. |
|
folderOnline |
| If the Folder is currently mounted/exists on the server sending the E-Mail. | folder_invitation.vm |
folders | A List of Folder Objects. | report_folder.vm | |
|
| A text the inviting user entered, and the invited user will be shown. |
|
account | The Account Object (see the source code for all methods) of the user who wants to reset his/her password or just registered. |
| |
account.organizationOID |
| The ID of the organization the account is belonging to |
|
resetURL | https://example.com/changepassword | The URL to the page to change the password. In the registration.vm e-mail it is only displayed, if the account the mail is sent to is authenticated by the database. |
|
downloadURL | https://example.com/dl/<FileLinkID>/<FileName> | The URL to download the linked file. | file_link_invitation.vm |
filename | presentation.pdf | The file name of the file to be shared. | file_link_invitation.vm |
fileName | abschluss.doc | The file name of the file that is in conflict. | notify_on_file_conflict.vm |
username | ksdfj98234 | The username of the registered user. |
|
name | Erika Musterfrau | The display name of the registered user. | registration.vm |
daysLeft |
| Days until the account will be disabled. Where 0 is a disabled account, and -1 means that the account never expires. | registration.vm |
daysOffline |
| Days since last login. -1 stands for an account that never logged in. | alert_account_offline.vm |
email | username@example.com | The E-Mail address to be added to an account. |
|
mergingAccount | gz9238 | The username of the account that initiated adding the E-Mail address to his/her account. |
|
verify_link | https://example.com/myaccount?action=verifyEmail&token=<token> | The link the user has to click to confirm that the E-Mail address should be added to his/her account. |
|
products | In case of In case of |
| |
problems | 3 | Number of Problems. | report_folder.vm |
downloadLink | https://example.com/dl/<FileLinkID>/<FileName> | A Link to download the file in conflict. | notify_on_file_conflict.vm |
isToAgreeOnMembership |
| If the user has to agree to an invitation. | folder_invitation.vm |
isOwnerInvitation |
| If it is an invitation for ownership to a folder. | folder_invitation.vm |
folderstableURL | https://pf.example.com/folderstable | The link to the folderstable | folder_invitation.vm |
invitorUsername | mustermann@powerfolder.com | Salutation line with username for an accepted invitation response email. | invitation_response.vm |
...