1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/plugins/UsersManager/templates/index.twig
james-hill-matomo 222d1d45e2 Extract user invite feature into it's own replaceable components (#23470)
* Extract user invite feature into it's own replaceable components

* fix UI tests

* fix: invite period not displayed in resend modal

* reset invite form on abort

* improve code

* updates expected UI test files

* allow setting invite component through javascript event

* Revert "allow setting invite component through javascript event"

This reverts commit fed82798fe.

* Moved definition of components to controller.

* Hooked up controller to event for UsersManager tweaks

* Build vue files

* Naming & typing tweaks.

Thanks Stefan!

* Bug fix for inconsistent site dropdown

* Build vue files

---------

Co-authored-by: sgiehl <stefan@matomo.org>
Co-authored-by: James Hill <james-hill-matomo@users.noreply.github.com>
Co-authored-by: innocraft-automation <innocraft-automation@users.noreply.github.com>
2025-08-04 11:26:50 +02:00

23 خطوط
884 B
Twig

{% extends 'admin.twig' %}
{% set title %}{{ 'UsersManager_ManageAccess'|translate }}{% endset %}
{% block content %}
<div
vue-entry="UsersManager.UsersManager"
initial-site-id="{{ idSiteSelected|json_encode }}"
invite-token-expiry-days="{{ inviteTokenExpiryDays }}"
initial-site-name="{{ defaultReportSiteName|json_encode }}"
current-user-role="{{ currentUserRole|json_encode }}"
access-levels="{{ accessLevels|json_encode }}"
filter-access-levels="{{ filterAccessLevels|json_encode }}"
filter-status-levels="{{ statusAccessLevels|json_encode }}"
activated-plugins="{{ activatedPlugins|json_encode }}"
password-strength-validation-rules="{{ passwordStrengthValidationRules|json_encode }}"
invite-component="{{ inviteComponent|json_encode }}"
resend-invite-component="{{ resendInviteComponent|json_encode }}"
>
</div>
{% endblock %}