[SOLVED] Enlarge priority color rectangle

Moderator: crythias

Locked
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

[SOLVED] Enlarge priority color rectangle

Post by HervE »

Hi,

I would like to know how to enlarge the priority color rectangle on the left of the ticket in every ticket list.

(I had a look at the HTML source page, and I can see width="1%", which is too small in my opinion.)

Regards,
HervE
Last edited by HervE on 11 Jan 2011, 17:13, edited 1 time in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Enlarge priority color rectangle

Post by HervE »

I'm loosing myself into DashboardTicketGeneric.pm and other files!
Can't anybody help me please?

HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Enlarge priority color rectangle

Post by crythias »

So, we know it's in AgentDashboard from the URI.
and the code is in ContentLargeTicketGenericRow
which points to Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl
Which has this line: <td class="PriorityID-$Data{"PriorityID"}" title="$Text{"Priority"}: $Text{"$Data{"Priority"}"}" width="1%">&nbsp;</td>
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
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Enlarge priority color rectangle

Post by HervE »

Thank you for your answer. I managed to do what I wanted.

Important for me is to understand how to get to the right file (so that I can do it myself next time), and I did not understand all your steps.
crythias wrote:So, we know it's in AgentDashboard from the URI.
That's true.
crythias wrote:and the code is in ContentLargeTicketGenericRow
How do you reach this one? The word "ContentLargeTicketGenericRow" is not even contained in AgentDashboard.pm.
crythias wrote:which points to Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl
Maybe it is pointed inside a file ContentLargeTicketGenericRow.something?
crythias wrote:Which has this line: <td class="PriorityID-$Data{"PriorityID"}" title="$Text{"Priority"}: $Text{"$Data{"Priority"}"}" width="1%">&nbsp;</td>
OK. This one is easy, once you know the guilty file is AgentDashboardTicketGeneric.dtl.

So if you could give me a little more explanations, that would be great.

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Enlarge priority color rectangle

Post by crythias »

HervE wrote:
crythias wrote:and the code is in ContentLargeTicketGenericRow
How do you reach this one? The word "ContentLargeTicketGenericRow" is not even contained in AgentDashboard.pm.
Because the View Source of the web page told me so. I should have said "under the ContentLargeTicketGenericRow section of the View Source of the web page"
HervE wrote:
crythias wrote:which points to Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl
Maybe it is pointed inside a file ContentLargeTicketGenericRow.something?
I used grep -sir "ContentLargeTicketGenericRow" *
HervE wrote:
crythias wrote:Which has this line: <td class="PriorityID-$Data{"PriorityID"}" title="$Text{"Priority"}: $Text{"$Data{"Priority"}"}" width="1%">&nbsp;</td>
OK. This one is easy, once you know the guilty file is AgentDashboardTicketGeneric.dtl.

So if you could give me a little more explanations, that would be great.

Regards,
HervE
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
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Enlarge priority color rectangle

Post by HervE »

Thanks.
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Locked