[Rt-commit] rt branch 5.0/format-auth-tokens-with-titlebox created. rt-5.0.3-78-g0fef413766

BPS Git Server git at git.bestpractical.com
Thu Aug 18 15:25:43 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/format-auth-tokens-with-titlebox has been created
        at  0fef413766dec97d3968e69f8414ccbd9d206a76 (commit)

- Log -----------------------------------------------------------------
commit 0fef413766dec97d3968e69f8414ccbd9d206a76
Author: Jason Crome <jcrome at bestpractical.com>
Date:   Thu Aug 18 11:24:10 2022 -0400

    Format auth token list with a title box.
    
    There are extensions that add content before and after the token list;
    putting the auth token list in a box improves the presentation of these.

diff --git a/share/html/Elements/AuthToken/List b/share/html/Elements/AuthToken/List
index 7ed30c8317..ec010f39a4 100644
--- a/share/html/Elements/AuthToken/List
+++ b/share/html/Elements/AuthToken/List
@@ -48,6 +48,7 @@
 <& /Elements/AuthToken/Help &>
 <& /Elements/AuthToken/Create, Owner => $Owner &>
 
+<&| /Widgets/TitleBox, class => 'mx-auto width-lg' &>
 <div class="authtoken-list mx-auto max-width-sm" data-owner="<% $Owner %>">
 % if ($tokens->Count == 0) {
   <p class="mt-3 mb-1 ml-3"><&|/l&>No authentication tokens.</&></p>
@@ -73,7 +74,7 @@
   </ul>
 % }
 </div>
-
+</&>
 <%INIT>
 my $tokens = RT::AuthTokens->new($session{CurrentUser});
 $tokens->LimitOwner(VALUE => $Owner);

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list