1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/UsersManager/templates/_inactiveUsersNotificationTextEmail.twig
Michal Kleiner 7cc8a70b3d Add mechanism to send inactive users notification (#23425)
* Add new setting for enabling inactive user notifications (#23393)
* Migrate 'last seen' from options table to users table (#23388)
* Create scheduled task to send inactive users security notification (#23403)
* Simplify enrich user and remove surplus methods
* Create a language helper to run code using given user's preferred language
* Update UI test screenshots

---------

Co-authored-by: Nathan Gavin <nathangavin987@gmail.com>
2025-08-05 13:54:58 +12:00

28 خطوط
1.3 KiB
Twig

{% autoescape false %}
{{ 'General_HelloUser'|translate(superuserLogin) }}
{{ 'UsersManager_InactiveUsersNotificationEmail01'|translate }}
{{ 'UsersManager_InactiveUsersNotificationEmail02'|translate }}
- {{ 'UsersManager_InactiveUsersNotificationEmail02a'|translate }}
- {{ 'UsersManager_InactiveUsersNotificationEmail02b'|translate }}
- {{ 'UsersManager_InactiveUsersNotificationEmail02c'|translate }}
{{ 'UsersManager_InactiveUserAccounts'|translate }}
{{ 'UsersManager_InactiveUsersNotificationEmail03'|translate }}
{{ 'General_Username'|translate }} | {{ 'UsersManager_LastLoginDate'|translate }} | {{ 'UsersManager_LastAPIUsageDate'|translate }}
{% for inactiveUser in inactiveUsers %}
{{ inactiveUser.login }} | {{ inactiveUser.ts_last_seen }} | {% if inactiveUser.ts_last_token_activity is not empty %}{{ inactiveUser.ts_last_token_activity }}{% else %}{{ 'General_NotAvailable'|translate }}{% endif %}
{% endfor %}
{{ 'UsersManager_InactiveUsersNotificationEmail04'|translate }} {{ manageUsersLink }}
{{ 'UsersManager_InactiveUsersNotificationEmail05'|translate }}
{{ 'UsersManager_InactiveUsersNotificationEmail06'|translate }}
{{ 'UsersManager_DisablingThisNotification'|translate }}
{{ 'UsersManager_InactiveUsersNotificationEmail07'|translate }}
{% endautoescape %}