[Rt-commit] rt 03/04: Use Select widget for SelfServiceUserPrefs config

sunnavy sunnavy at bestpractical.com
Tue Jun 29 17:33:50 EDT 2021


This is an automated email from the git hooks/post-receive script.

sunnavy pushed a commit to branch 5.0/db-config-missing-widgets
in repository rt.

commit 30e9eb4798479fe04260d1f2c47a32fe10393830
Author: sunnavy <sunnavy at bestpractical.com>
AuthorDate: Tue Jun 29 05:26:17 2021 +0800

    Use Select widget for SelfServiceUserPrefs config
---
 lib/RT/Config.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 0039e6f83e..6286872212 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -1979,6 +1979,18 @@ our %META;
         Widget => '/Widgets/Form/Select',
         WidgetArguments => { Values => [qw(ASC DESC)] },
     },
+    SelfServiceUserPrefs => {
+        Widget          => '/Widgets/Form/Select',
+        WidgetArguments => {
+            Values      => [qw(edit-prefs view-info edit-prefs-view-info full-edit)],
+            ValuesLabel => {
+                'edit-prefs'           => 'Edit Locale and change password',                           # loc
+                'view-info'            => 'View all the info',                                         # loc
+                'edit-prefs-view-info' => 'View all the info, and edit Locale and change password',    # loc
+                'full-edit'            => 'View and update all the info',                              # loc
+            },
+        },
+    },
     AssetDefaultSearchResultFormat => {
         Widget => '/Widgets/Form/MultilineString',
     },

-- 
To stop receiving notification emails like this one, please contact
sysadmin at bestpractical.com.


More information about the rt-commit mailing list