cut Subject in Ticketoverview

Moderator: crythias

Locked
jesc
Znuny newbie
Posts: 42
Joined: 26 Nov 2008, 11:04
Location: Stuttgart
Contact:

cut Subject in Ticketoverview

Post by jesc »

Hallo,

as mentioned in a 5 year old german Ticket http://forums.otrs.org/viewtopic.php?f=35&t=622 , the most of OTRS Agents should have "big screen" with enough space :-). So, is it possible to configure the Count of Chars on which the Subject in the Ticketoverview is cut? At the moment its 20 Characters. And we have a lot of space in fields "Type", "From", "Created" - so why dont OTRS use them? Even in Version 3.0.10 :-)?

Any advice where i can edit this setting would be appreciated :-).

Thanks!

Jens
OTRS 3.0.10, ITSM 3.0.4, MySQL 5.1.49, Debian GNU/Linux 6.0
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: cut Subject in Ticketoverview

Post by crythias »

Kernel/Output/HTML/AgentTicketOverview*.dtl (Small, Medium, Preview) search for "Subject" and adjust the number that follows the entry.

If you want to keep this across upgrades, you will want to make these changes in your own theme.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jesc
Znuny newbie
Posts: 42
Joined: 26 Nov 2008, 11:04
Location: Stuttgart
Contact:

Re: cut Subject in Ticketoverview

Post by jesc »

crythias wrote:Kernel/Output/HTML/AgentTicketOverview*.dtl (Small, Medium, Preview) search for "Subject" and adjust the number that follows the entry.
If you want to keep this across upgrades, you will want to make these changes in your own theme.
Thanks a lot! That works perfectly!

Set "FromRealname", "Subject", and "Title" to 100.

Code: Select all

                    <td>
                        <div title="$QData{"From"}">$QData{"FromRealname","100"}</div>
<!-- dtl:block:RecordLastCustomerSubject -->
                        <div title="$QData{"Subject"}">$QData{"Subject","100"}</div>
<!-- dtl:block:RecordLastCustomerSubject -->
<!-- dtl:block:RecordTicketTitle -->
                        <div title="$QData{"Title"}">$QData{"Title","100"}</div>
<!-- dtl:block:RecordTicketTitle -->
                    </td>
Just a short Notice, its: Kernel/Output/HTML/Standard/AgentTicketOverview[Small|Medium|Preview].dtl :-).
OTRS 3.0.10, ITSM 3.0.4, MySQL 5.1.49, Debian GNU/Linux 6.0
Locked