]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Admin/Global/MyRT.html
Upgrade to 4.2.2
[usit-rt.git] / share / html / Admin / Global / MyRT.html
index 9b3cb96eea5ebe51d5a648bec8249dcf4636661c..220e59ae311d29a4aa74e213a9a1053b87a91c6d 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
 <& /Admin/Elements/Header, Title => loc("RT at a glance") &>
 <& /Elements/Tabs &>
 
-<& /Widgets/SelectionBox:header, nojs => 1 &>
-
 <& /Elements/ListActions, actions => \@actions &>
 <br />
 % for my $pane (@panes) {
 <&|/Widgets/TitleBox, title => loc('RT at a glance').': '.loc($pane->{Name}), bodyclass => "" &>
-<& /Widgets/SelectionBox:show, self => $pane, nojs => 1 &></&>
+<& /Widgets/SelectionBox:show, self => $pane &></&>
 <br />
 % }
 <%init>
@@ -86,7 +84,7 @@ my @panes = $m->comp(
     '/Admin/Elements/ConfigureMyRT',
     panes  => [
         'body', #loc
-        'summary', #loc
+        'sidebar', #loc
     ],
     Action => 'MyRT.html',
     items => \@items,
@@ -95,7 +93,7 @@ my @panes = $m->comp(
     OnSave => sub {
         my ( $conf, $pane ) = @_;
         if (!$has_right) {
-            push @actions, loc( 'Permission denied' );
+            push @actions, loc( 'Permission Denied' );
         }
         else {
             $default_portlets->SetContent( $conf );
@@ -104,7 +102,7 @@ my @panes = $m->comp(
     }
 );
 
-$m->comp( '/Widgets/SelectionBox:process', %ARGS, self => $_, nojs => 1 )
+$m->comp( '/Widgets/SelectionBox:process', %ARGS, self => $_ )
     for @panes;