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
[SOLVED] Enlarge priority color rectangle
Moderator: crythias
[SOLVED] Enlarge priority color rectangle
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
Re: Enlarge priority color rectangle
I'm loosing myself into DashboardTicketGeneric.pm and other files!
Can't anybody help me please?
HervE
Can't anybody help me please?
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Enlarge priority color rectangle
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%"> </td>
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%"> </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
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
Re: Enlarge priority color rectangle
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.
So if you could give me a little more explanations, that would be great.
Regards,
HervE
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.
That's true.crythias wrote:So, we know it's in AgentDashboard from the URI.
How do you reach this one? The word "ContentLargeTicketGenericRow" is not even contained in AgentDashboard.pm.crythias wrote:and the code is in ContentLargeTicketGenericRow
Maybe it is pointed inside a file ContentLargeTicketGenericRow.something?crythias wrote:which points to Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl
OK. This one is easy, once you know the guilty file is AgentDashboardTicketGeneric.dtl.crythias wrote:Which has this line: <td class="PriorityID-$Data{"PriorityID"}" title="$Text{"Priority"}: $Text{"$Data{"Priority"}"}" width="1%"> </td>
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Enlarge priority color rectangle
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:How do you reach this one? The word "ContentLargeTicketGenericRow" is not even contained in AgentDashboard.pm.crythias wrote:and the code is in ContentLargeTicketGenericRow
I used grep -sir "ContentLargeTicketGenericRow" *HervE wrote:Maybe it is pointed inside a file ContentLargeTicketGenericRow.something?crythias wrote:which points to Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl
HervE wrote:OK. This one is easy, once you know the guilty file is AgentDashboardTicketGeneric.dtl.crythias wrote:Which has this line: <td class="PriorityID-$Data{"PriorityID"}" title="$Text{"Priority"}: $Text{"$Data{"Priority"}"}" width="1%"> </td>
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
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
Re: Enlarge priority color rectangle
Thanks.
HervE
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30