[SOLVED] Dashboard - Increase limit text Title column

Moderator: crythias

Post Reply
amdkryn
Znuny expert
Posts: 187
Joined: 02 Oct 2012, 02:52
Znuny Version: 5.0.27

[SOLVED] Dashboard - Increase limit text Title column

Post by amdkryn »

Hi,

My situation is the following: In the Dashboard table, there are some columns (as the title of ticket), which have a very short text, I want to increase the text size of this column.
For example: The text is "zzzzzzzzzzzzzzzzzzzzzz", but the width of this column showing a few characters, and thus displayed "zzzzzzzzz ...".
Could anyone help me with this, I do not where I set in sysconfig.

Thanks for advance.

* I use Kix4otrs.
Last edited by amdkryn on 03 Apr 2014, 16:54, edited 1 time in total.
OTRS version 5.0.27 (With ITSM), Operating System OpenSuse 12 with Mysql.
amdkryn
Znuny expert
Posts: 187
Joined: 02 Oct 2012, 02:52
Znuny Version: 5.0.27

Re: Dashboard - Increase the limit of the text Title column

Post by amdkryn »

Anybody?
OTRS version 5.0.27 (With ITSM), Operating System OpenSuse 12 with Mysql.
mathiask
Znuny newbie
Posts: 11
Joined: 01 Jul 2013, 16:43
Znuny Version: 3.2.*

Re: Dashboard - Increase the limit of the text Title column

Post by mathiask »

If I remember it right, such things should be set in the css files. Maybe this could help you: http://doc.otrs.org/developer/3.3/en/html/skins.html
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Dashboard - Increase the limit of the text Title column

Post by reneeb »

No... The char limit is hard coded in the template (at least in stock OTRS). The original file is Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl... In that file you can find

Code: Select all

<!-- dtl:block:ContentLargeTicketGenericColumn -->
                <td>
                    <div title="$QData{"GenericValue"}">$QData{"GenericValue","40"}</div>
                </td>
<!-- dtl:block:ContentLargeTicketGenericColumn -->
where the "40" is the char limit. It's not the best solution to change that value as that effects *all* columns...


I assume KIX4OTRS has a similar template
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
amdkryn
Znuny expert
Posts: 187
Joined: 02 Oct 2012, 02:52
Znuny Version: 5.0.27

Re: Dashboard - Increase the limit of the text Title column

Post by amdkryn »

It worked! Thank you very much. I changed the value quoted in the file and it worked.
OTRS version 5.0.27 (With ITSM), Operating System OpenSuse 12 with Mysql.
Post Reply