[Rt-commit] r13593 - in rt/3.8/trunk: . share/html/Dashboards/Elements

sartak at bestpractical.com sartak at bestpractical.com
Wed Jun 25 18:28:59 EDT 2008


Author: sartak
Date: Wed Jun 25 18:28:58 2008
New Revision: 13593

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Dashboards/Elements/ShowDashboards
   rt/3.8/trunk/share/html/Elements/Dashboards

Log:
 r63238 at onn:  sartak | 2008-06-25 15:30:02 -0400
 Some dashboard usability fixes.
 Have the link to each dashboard go to its show page instead of edit.


Modified: rt/3.8/trunk/share/html/Dashboards/Elements/ShowDashboards
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Elements/ShowDashboards	(original)
+++ rt/3.8/trunk/share/html/Dashboards/Elements/ShowDashboards	Wed Jun 25 18:28:58 2008
@@ -80,9 +80,10 @@
 
 %   my $i = 0;
 %   for my $dashboard (@$Dashboards) {
-%       my $url = sprintf '%s/Dashboards/Modify.html?id=%d',
+%       my $url = sprintf '%s/Dashboards/%d/%s',
 %                 RT->Config->Get('WebPath'),
-%                 $dashboard->Id;
+%                 $dashboard->Id,
+%                 $dashboard->Name;
 
         <tr class="collection-as-table <% ++$i % 2 ? 'oddline' : 'evenline' %>">
             <td class="collection-as-table">

Modified: rt/3.8/trunk/share/html/Elements/Dashboards
==============================================================================
--- rt/3.8/trunk/share/html/Elements/Dashboards	(original)
+++ rt/3.8/trunk/share/html/Elements/Dashboards	Wed Jun 25 18:28:58 2008
@@ -47,7 +47,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div class="dashboards">
 <&|/Widgets/TitleBox, title => loc("Dashboards"), bodyclass => "",
-   titleright => loc("Edit"), titleright_href => RT->Config->Get('WebPath').'/Dashboards.html' &>
+   titleright => loc("Edit"), titleright_href => RT->Config->Get('WebPath').'/Dashboards' &>
 
 <& /Dashboards/Elements/ShowDashboards:table,
     Dashboards => \@dashboards,


More information about the Rt-commit mailing list