Hi
I´d like to know if it is possible to hide some part queue name in Ticket Information and notifiacion send to agent (owner of ticket get some message when someone add note or move ticket to another queue etc.)?
For example I have queue Aplikacja(L3), so after open any ticket i that queue I will see "Queue: Raw::NOC(L1)::Aplikacja(L2)::Aplikacja(L3)" (parent child relations), but for most agents prefer see only "Queue: Aplikacja(L3)".
Regards and thanks,
[Solved] Hide some part Queqe name.
Moderator: crythias
[Solved] Hide some part Queqe name.
Last edited by fqdn on 24 Sep 2014, 12:35, edited 1 time in total.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Hide some part Queqe name.
Well, an idea is:
You could edit the .dtl files, such that queue-names are translatable and then add a custom translation.
E.g.:
Queue: Raw::NOC(L1)::Aplikacja(L2)::Aplikacja(L3) -> Queue: Aplikacja(L3)
You could edit the .dtl files, such that queue-names are translatable and then add a custom translation.
E.g.:
Queue: Raw::NOC(L1)::Aplikacja(L2)::Aplikacja(L3) -> Queue: Aplikacja(L3)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Hide some part Queqe name.
Thanks for replay.
I created custom translation file on model server /usr/share/otrs/Kernel/Language/pl_Custom.pm :
But I don't know where and what I must edit in that installation OTRS 3.3.8 to translate queue name.
Regards and thanks,
I created custom translation file on model server /usr/share/otrs/Kernel/Language/pl_Custom.pm :
Code: Select all
package Kernel::Language::pl_Custom;
use strict;
use warnings;
use vars qw(@ISA $VERSION);
$VERSION = qw($Revision: 1.4 $) [1];
sub Data {
my $Self = shift;
# $$START$$
# own translations
$Self->{Translation}->{'Note'} = 'TEST';
$Self->{Translation}->{'Queue: Raw::NOC(L1)::Aplikacja(L2)::Aplikacja(L3)'} = ''Queue: Aplikacja(L3)';
# $$STOP$$
return 1;
}
Regards and thanks,
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Hide some part Queqe name.
Examine the AgentTicketZoom.dtl (for example). You'll find the div block for the queue like this:
And you have to edit the part "$QData{"Queue"}" to look like this:
(So, wrap it with the $Text{} function.)
Code: Select all
<label>$Text{"Queue"}:</label>
<p class="Value" title="$QData{"Queue"}">$QData{"Queue"}</p>
<div class="Clear"></div>
Code: Select all
<label>$Text{"Queue"}:</label>
<p class="Value" title="$QData{"Queue"}">$Text{"$QData{"Queue"}"}</p>
<div class="Clear"></div>
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Hide some part Queqe name.
RStraub Thanks for your help - my problem was solved.
Regards and thanks
Regards and thanks