You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-10-17 10:07:15

grefabu
Member
Registered: 2017-09-22
Posts: 110

[SOLVED]template for notification - only the newest item/task possible

Hi,

I want only the newest task/follow up in the Notification. I found no tag for it. Is there a solution possible?

Bye

Gregor

Last edited by grefabu (2017-10-18 11:29:43)

Offline

#2 2017-10-17 16:41:30

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: [SOLVED]template for notification - only the newest item/task possible

For a followup:

* first item:  ##FOREACH FIRST followups## ... ##ENDFOREACH followups## => show only the first followup created in the ticket
  * last item: ##FOREACH LAST followups## ... ##ENDFOREACH followups##
  * 10 first items : ##FOREACH FIRST 10 followups## ... ##ENDFOREACH followups##
  * 2 last items : ##FOREACH LAST 2 followups## ... ##ENDFOREACH followups##


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2017-10-18 11:28:58

grefabu
Member
Registered: 2017-09-22
Posts: 110

Re: [SOLVED]template for notification - only the newest item/task possible

Hi Yllen,

a little correcture, it've to write without blanks.
But work like expected!

Thank You

Offline

Board footer

Powered by FluxBB