CustomerTicketOverview - Change Age by Date Created

Moderator: crythias

Post Reply
daviknx
Znuny newbie
Posts: 38
Joined: 12 May 2015, 21:15
Znuny Version: 4.0.7
Real Name: Davi
Company: Home

CustomerTicketOverview - Change Age by Date Created

Post by daviknx »

Hi everyone!

I'm change the column "Age" by "date created" in page CustomerTicketOverview.

When access to CustomerTicketOverview pages, is informed of the age called, but wanted it to be shown on the date of creation. How can I make this change?

e.g.
You do not have the required permissions to view the files attached to this post.
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: CustomerTicketOverview - Change Age by Date Created

Post by yuri0001 »

Remove or comment this line in CustomerTicketOverview.tt

Code: Select all

 <td class="Age" title="[% Data.Created | Localize("TimeShort") %]">[% Data.CustomerAge | truncate(20) | html %]</td>
by the next one

Code: Select all

 <td class="Age" title="[% Data.Created | Localize("TimeShort") %]">[% Data.Created | truncate(20) | html %]</td>
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
daviknx
Znuny newbie
Posts: 38
Joined: 12 May 2015, 21:15
Znuny Version: 4.0.7
Real Name: Davi
Company: Home

Re: CustomerTicketOverview - Change Age by Date Created

Post by daviknx »

Perfect! Worked great!

Thank you Yuri!

I noticed that on this screen, the table has no label, you can add?
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: CustomerTicketOverview - Change Age by Date Created

Post by yuri0001 »

Hi!
daviknx wrote:I noticed that on this screen, the table has no label, you can add?
Sorry, I'm not Perl & HTML programmer.
In this case it where easy & transparency. After some attempts it's work. :)
Sorry my bad English!
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
daviknx
Znuny newbie
Posts: 38
Joined: 12 May 2015, 21:15
Znuny Version: 4.0.7
Real Name: Davi
Company: Home

Re: CustomerTicketOverview - Change Age by Date Created

Post by daviknx »

All right!

Thank you for your contribution, helped me a lot! :D

No problem, my English is not so good lol
Post Reply