[otrs-cvs] ITSMIncidentProblemManagement/Kernel/Output/HTML TicketOverviewMedium.pm, 1.15, 1.16 TicketOverviewPreview.pm, 1.23, 1.24

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv6966/Kernel/Output/HTML

Modified Files:
	TicketOverviewMedium.pm TicketOverviewPreview.pm 
Log Message:
Updated file to latest framework version.

Author: ub

Index: TicketOverviewMedium.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML/TicketOverviewMedium.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -2 -u -d -r1.15 -r1.16
--- TicketOverviewMedium.pm	21 Nov 2012 20:46:18 -0000	1.15
+++ TicketOverviewMedium.pm	16 Jan 2013 12:08:44 -0000	1.16
@@ -1,8 +1,8 @@
 # --
 # Kernel/Output/HTML/TicketOverviewMedium.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
-# $OldId: TicketOverviewMedium.pm,v 1.56 2012/11/20 15:04:54 mh Exp $
+# $OldId: TicketOverviewMedium.pm,v 1.57 2013/01/16 02:48:10 cr Exp $
 # --
 # This software comes with ABSOLUTELY NO WARRANTY. For details, see
@@ -268,4 +268,13 @@
             DynamicFields => 0,
         );
+        if ( !$Article{Title} ) {
+            $Article{Title} = $Self->{LayoutObject}->{LanguageObject}->Get(
+                'This ticket has no title or subject'
+            );
+        }
+        my %Address = $Self->{QueueObject}->GetSystemAddress( QueueID => $Article{QueueID} );
+        $Article{Subject}      = $Article{Title};
+        $Article{From}         = '$Address{RealName} <$Address{Email}>';
+        $Article{FromRealname} = $Address{RealName};
     }
 

Author: ub

Index: TicketOverviewPreview.pm
===================================================================
RCS file: /home/cvs/ITSMIncidentProblemManagement/Kernel/Output/HTML/TicketOverviewPreview.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -2 -u -d -r1.23 -r1.24
--- TicketOverviewPreview.pm	21 Nov 2012 20:46:18 -0000	1.23
+++ TicketOverviewPreview.pm	16 Jan 2013 12:08:44 -0000	1.24
@@ -1,8 +1,8 @@
 # --
 # Kernel/Output/HTML/TicketOverviewPreview.pm
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
-# $OldId: TicketOverviewPreview.pm,v 1.75 2012/11/20 15:05:04 mh Exp $
+# $OldId: TicketOverviewPreview.pm,v 1.76 2013/01/16 02:48:10 cr Exp $
 # --
 # This software comes with ABSOLUTELY NO WARRANTY. For details, see
@@ -292,4 +292,13 @@
     if ( !%Article ) {
         %Article = %Ticket;
+        if ( !$Article{Title} ) {
+            $Article{Title} = $Self->{LayoutObject}->{LanguageObject}->Get(
+                'This ticket has no title or subject'
+            );
+        }
+        my %Address = $Self->{QueueObject}->GetSystemAddress( QueueID => $Article{QueueID} );
+        $Article{Subject}      = $Article{Title};
+        $Article{From}         = '$Address{RealName} <$Address{Email}>';
+        $Article{FromRealname} = $Address{RealName};
     }
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.