[Rt-commit] rt 02/03: tweak rights modal

Jim Brandt jbrandt at bestpractical.com
Thu Jul 15 17:58:57 UTC 2021


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

jbrandt pushed a commit to branch 5.0/use-dashboard-for-homepage-select-ui
in repository rt.

commit 16393b35733bbdcfcceb0ee7b609e9566e22cf56
Author: Jim Brandt <jbrandt at bestpractical.com>
AuthorDate: Thu Jul 15 13:29:27 2021 -0400

    tweak rights modal
---
 share/html/Admin/Elements/EditRights | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/share/html/Admin/Elements/EditRights b/share/html/Admin/Elements/EditRights
index d87e44b731..b028057eb6 100644
--- a/share/html/Admin/Elements/EditRights
+++ b/share/html/Admin/Elements/EditRights
@@ -321,27 +321,30 @@ if ( $AddPrincipal ) {
   </div>
 </div>
 
-<div class="modal" id="grant-own-dashboard-rights-modal">
+<div class="modal fade" id="grant-own-dashboard-rights-modal">
   <div class="modal-dialog" role="document">
     <div class="modal-content">
       <div class="modal-header">
-        <h5 class="modal-title"><&|/l&>Grant OwnDashboard rights too?</&></h5>
+        <h5 class="modal-title"><&|/l&>Grant Dashboard Rights</&></h5>
         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
           <span aria-hidden="true">×</span>
         </button>
       </div>
       <div class="modal-body">
         <p>
-          <&|/l&>Users need these rights to fully customize their own "RT at a glance":</&>
+          <&|/l&>Users need these additional rights to fully customize their own "RT at a glance":</&>
         </p>
         <ul class="list-group-compact">
 %       for my $item ( qw/Create Delete Modify See/ ) {
           <li class="list-group-item"><% $item %>OwnDashboard</li>
 %       }
         </ul>
+        <p>
+          <&|/l&>Grant these rights also? (Make sure to Save Changes)</&>
+        </p>
       </div>
       <div class="modal-footer">
-        <button type="button" class="btn btn-primary button" data-dismiss="modal"><&|/l&>Cancel</&></button>
+        <button type="button" class="btn btn-primary button" data-dismiss="modal"><&|/l&>No</&></button>
         <button type="button" class="btn btn-primary button" id="grant-own-dashboard-rights-confirm"><&|/l&>Yes</&></button>
       </div>
     </div>

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


More information about the rt-commit mailing list