Re: [dev] Owner First and Last name in CustomerTicketZoom.dtl
Hi Jan, You are probably asking this because if you enable 'owner' you'd only see the owner *login* name as opposed to the firstname / lastname which makes it not very usable right? [image: Inline image 1] whereas for the same ticket in the overview, if you enable it, you DO see firstname and lastname: [image: Inline image 2] This is a bug; and to answer your question, you'd first need to look up the user first and last name before you can use it in the DTL template. On Sat, Apr 20, 2013 at 5:44 PM, Jan Řežab ho...@rezab.eu wrote: Hi. How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success. Thanks. Jan ___ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev 2013-04-22 08_06_45-MyTickets - Ticket - OTRS.png2013-04-22 08_02_47-20130411 - Zoom - Ticket - OTRS.png___ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
Re: [dev] Owner First and Last name in CustomerTicketZoom.dtl
Hi, I fixed it here; please check the code if you want to see how: https://github.com/OTRS/otrs/commit/0c394c6892152defb7def8d84e06b696c5ed18b9 On Mon, Apr 22, 2013 at 8:08 AM, Michiel Beijen michiel.bei...@gmail.comwrote: Hi Jan, You are probably asking this because if you enable 'owner' you'd only see the owner *login* name as opposed to the firstname / lastname which makes it not very usable right? [image: Inline image 1] whereas for the same ticket in the overview, if you enable it, you DO see firstname and lastname: [image: Inline image 2] This is a bug; and to answer your question, you'd first need to look up the user first and last name before you can use it in the DTL template. On Sat, Apr 20, 2013 at 5:44 PM, Jan Řežab ho...@rezab.eu wrote: Hi. How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success. Thanks. Jan ___ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev 2013-04-22 08_06_45-MyTickets - Ticket - OTRS.png2013-04-22 08_02_47-20130411 - Zoom - Ticket - OTRS.png___ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
[dev] Owner First and Last name in CustomerTicketZoom.dtl
Hi. How is possible add owner firstname and lastname into CustomerTicketZoom.dtl? I tried edit CustomerTicketZoom.pm, but without success. Thanks. Jan ___ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev