[Rt-commit] rt branch, 5.0/use-dashboard-for-homepage-select-ui, repushed
? sunnavy
sunnavy at bestpractical.com
Fri May 21 10:10:46 EDT 2021
The branch 5.0/use-dashboard-for-homepage-select-ui was deleted and repushed:
was 0b5f2db2c895b3eba8c13713b3ab430b1776fca5
now 654773c45c5cbd36b6bb9905d8029e6e8e1a9481
1: 4c4f5ae522 ! 1: a9c334f14b Migrate "RT at a glance" homepage to dashboard
@@ -500,10 +500,10 @@
+ push @{ $dashboards{$section} },
+ { id => $dashboard->Id,
+ name => $dashboard->Name,
-+ view_link => $dashboard->CurrentUserCanSee( $args{CurrentUser} )
++ view_link => $dashboard->CurrentUserCanSee()
+ ? join( '/', RT->Config->Get('WebPath'), 'Dashboards', $dashboard->Id, $dashboard->Name )
+ : '',
-+ edit_link => $dashboard->CurrentUserCanModify( $args{CurrentUser} )
++ edit_link => $dashboard->CurrentUserCanModify()
+ ? join( '/', RT->Config->Get('WebPath'), 'Dashboards', 'Queries.html?id=' . $dashboard->Id )
+ : '',
+ };
@@ -977,12 +977,12 @@
+%# END BPS TAGGED BLOCK }}}
+
+% for my $section ( sort keys %Dashboards ) {
-+<table class="table table-striped collection collection-as-table">
++<table class="table table-striped table-hover">
+ <thead>
-+ <th><% $section %></th>
-+ <th></th>
-+ <th></th>
-+ <th></th>
++ <th class="w-25"><% $section %></th>
++ <th class="w-25"></th>
++ <th class="w-25"></th>
++ <th class="w-25"></th>
+ </thead>
+ <tbody>
+% for my $dashboard ( @{$Dashboards{$section}} ) {
2: 6f66109264 = 2: 1a6cb3880d Add "New Dashboard" to prefs/global MyRT page menu for convenience
3: 6305556107 = 3: e239419981 Update tests for the migration of "RT at a glance" => dashboard
4: 0b5f2db2c8 = 4: 654773c45c Add docs for "RT at a glance" migration to use dashboard
More information about the rt-commit
mailing list