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 2018-05-17 10:58:13

spam@habilitas.it
Guest
Registered: 2010-05-05
Posts: 8

email notifications: differentiate the last followup

Hello,
I 'd like to show, in my email notification for "add followup", the last followup in a different style. something like:

this is the last followup: *followup 1*
these are the others:
*followup 2*
*followup 3*
*followup 4*
*followup 5*

but I don't see any tag suitable for this purpose.
Is there a way to do it?

thanx

davide

Offline

#2 2018-05-17 11:20:22

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 4,157

Re: email notifications: differentiate the last followup

you can highligt first or last followup : with ##FOREACH last followups##


this is the last followup:
##FOREACH last followups##
##followup.description##
##ENDFOREACHfollowups##

these are the others:

*followup 2*
*followup 3*
*followup 4*
*followup 5*


Trouver la panne avant de réparer...
*GLPI 9.1.6+fusion9.1+1.1+behaviours1.5.0+reports+fields+appliances+pdf+badges+formcreator2.5.2 PHP7.0 Mariadb10
*GLPI 9.2.4(behaviours1.5.2+fusion9.2+1.0+applicatifs2.3.0+dashboard 0.8.9)hebergé sur serveur mutualisé.
*GLPI 9.3.1  en test (ubuntu 16.04 mariadb 10.2.4)

Offline

#3 2018-05-17 11:53:10

spam@habilitas.it
Guest
Registered: 2010-05-05
Posts: 8

Re: email notifications: differentiate the last followup

thank you , but, mmm...
so it should be...

##FOREACHfollowups##

##FOREACH last followups##
*set red for this line*
##ENDFOREACHfollowups##

##followup.description##
these are the others:
*followup 2*
*followup 3*
*followup 4*
*followup 5*
##ENDFOREACHfollowups##

but it does not work as every time it goes over the last followup thing it set the line in red even if is the first follow up..

davide

Offline

#4 2018-05-17 14:00:19

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 4,157

Re: email notifications: differentiate the last followup

so it should be...

this is the last followup :
##FOREACH last followups##
*set red for this line*
##ENDFOREACHfollowups##

these are all the followups
##FOREACHfollowups##

##followup.description##

##ENDFOREACHfollowups##


you should get :

this is the last followup :
*followup 5*

these are all the followups
*followup 1*
*followup 2*
*followup 3*
*followup 4*
*followup 5*

Note that the last foolowp is also in all followups list


Trouver la panne avant de réparer...
*GLPI 9.1.6+fusion9.1+1.1+behaviours1.5.0+reports+fields+appliances+pdf+badges+formcreator2.5.2 PHP7.0 Mariadb10
*GLPI 9.2.4(behaviours1.5.2+fusion9.2+1.0+applicatifs2.3.0+dashboard 0.8.9)hebergé sur serveur mutualisé.
*GLPI 9.3.1  en test (ubuntu 16.04 mariadb 10.2.4)

Offline

#5 2018-05-17 14:08:27

spam@habilitas.it
Guest
Registered: 2010-05-05
Posts: 8

Re: email notifications: differentiate the last followup

That's not what I wanted to have.
then the behavior is not exactly the same you've described as doing so we get:

this is the last followup :
*followup 5*
these are all the followups
*followup 5*
*followup 4*
*followup 3*
*followup 2*
*followup 1*

what I would like to get is:

this is the last followup :
*followup 5*
these are the previous followups
*followup 4*
*followup 3*
*followup 2*
*followup 1*

Offline

#6 2018-05-22 04:02:08

jayeshroshan
Guest
Registered: 2018-05-22
Posts: 4

Re: email notifications: differentiate the last followup

hello,
visit Setup > Notifications > Notifications, and ensure you have Technician in charge of this price tag is chosen as a Notification Recipient. experience loose to play along with your Recipients until you've got the humans you want notified receiving notifications.
regards
jayesh
Plex Kodi Lucky Patcher

Last edited by jayeshroshan (2018-05-23 12:20:41)

Offline

Board footer

Powered by FluxBB