[freeside-commits] freeside/rt/share/html/Elements CollectionList, 1.2, 1.3 ColumnMap, 1.4, 1.5 Dashboards, 1.3, 1.4 Footer, 1.2, 1.3 Header, 1.5, 1.6 PageLayout, 1.3, 1.4 RefreshHomepage, 1.3, 1.4 SelectDate, 1.3, 1.4 SelectQueue, 1.2, 1.3 ShowUserVerbose, 1.2, 1.3 TicketList, 1.4, 1.5
Ivan,,,
ivan at wavetail.420.am
Wed Feb 16 16:52:28 PST 2011
Update of /home/cvs/cvsroot/freeside/rt/share/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv29643/share/html/Elements
Modified Files:
CollectionList ColumnMap Dashboards Footer Header PageLayout
RefreshHomepage SelectDate SelectQueue ShowUserVerbose
TicketList
Log Message:
commiting rt 3.8.9 to HEAD
Index: PageLayout
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/PageLayout,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- PageLayout 20 Mar 2010 22:11:37 -0000 1.3
+++ PageLayout 17 Feb 2011 00:52:26 -0000 1.4
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
@@ -189,6 +189,8 @@
my ($menu_depth, $almost_last, $page_tabs);
+# don't pull out the last submenu for 3.5-compat theme
+# see #14853 for details.
if (RT->Config->Get( 'WebDefaultStylesheet', $session{'CurrentUser'} ) ne '3.4-compat') {
($menu_depth, $almost_last) = @{ $m->comp('.menu_recurse', data => $toptabs, current => $current_toptab ) };
Index: CollectionList
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/CollectionList,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- CollectionList 20 May 2010 09:53:42 -0000 1.2
+++ CollectionList 17 Feb 2011 00:52:26 -0000 1.3
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
@@ -54,6 +54,16 @@
my $TotalFound = $Collection->CountAll();
return '' if !$TotalFound && !$ShowEmpty;
+if ( $Rows ) {
+ if ( $TotalFound <= $Rows ) {
+ $Page = 1;
+ }
+ else {
+ my $MaxPage = int( $TotalFound / $Rows ) + ( $TotalFound % $Rows ? 1 : 0 );
+ $Page = $MaxPage if $Page > $MaxPage;
+ }
+}
+
# XXX: ->{'order_by'} is hacky, but there is no way to check if
# collection is ordered or not
if ( @OrderBy && ($AllowSorting || !$Collection->{'order_by'}) ) {
Index: ColumnMap
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/ColumnMap,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- ColumnMap 15 Aug 2010 00:44:54 -0000 1.4
+++ ColumnMap 17 Feb 2011 00:52:26 -0000 1.5
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: Footer
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/Footer,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- Footer 20 Mar 2010 22:11:37 -0000 1.2
+++ Footer 17 Feb 2011 00:52:26 -0000 1.3
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: Dashboards
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/Dashboards,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- Dashboards 18 Aug 2010 00:14:10 -0000 1.3
+++ Dashboards 17 Feb 2011 00:52:26 -0000 1.4
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: RefreshHomepage
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/RefreshHomepage,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- RefreshHomepage 15 Aug 2010 00:44:54 -0000 1.3
+++ RefreshHomepage 17 Feb 2011 00:52:26 -0000 1.4
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: Header
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/Header,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- Header 26 Aug 2010 06:13:21 -0000 1.5
+++ Header 17 Feb 2011 00:52:26 -0000 1.6
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: ShowUserVerbose
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/ShowUserVerbose,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- ShowUserVerbose 30 Jun 2010 17:48:23 -0000 1.2
+++ ShowUserVerbose 17 Feb 2011 00:52:26 -0000 1.3
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
@@ -63,7 +63,7 @@
$Address = Email::Address->new( $phrase, $address, $comment );
}
-$Address->comment('') if $comment && lc $Address->user eq lc $comment;
+$Address->comment('') if $comment and defined $Address->user and lc $Address->user eq lc $comment;
if ( $phrase and my ( $l, $r ) = ( $phrase =~ /^(\w+) (\w+)$/ ) ) {
$Address->phrase('')
if $Address->user =~ /^\Q$l\E.\Q$r\E$/
Index: TicketList
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/TicketList,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- TicketList 20 May 2010 10:13:31 -0000 1.4
+++ TicketList 17 Feb 2011 00:52:26 -0000 1.5
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: SelectQueue
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/SelectQueue,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- SelectQueue 1 Jan 2011 00:47:01 -0000 1.2
+++ SelectQueue 17 Feb 2011 00:52:26 -0000 1.3
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
Index: SelectDate
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Elements/SelectDate,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- SelectDate 21 Jul 2010 02:06:44 -0000 1.3
+++ SelectDate 17 Feb 2011 00:52:26 -0000 1.4
@@ -2,8 +2,8 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
-%# <jesse at bestpractical.com>
+%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# <sales at bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
More information about the freeside-commits
mailing list