ddurieux / glpi_notifications

GNU Affero General Public License v3.0
7 stars 3 forks source link

followup.author and followup.date don't work #4

Open yalgva opened 5 years ago

yalgva commented 5 years ago

Hello

in ticket notification, followup.author and follow.date work at the top of the notification but not at the bottom. it is the same for followup notification

Thank you

image

yalgva commented 5 years ago

the code of the notification

GLPi   ##lang.author.name##: ##lang.ticket.observerusers##:
##ticket.authors## ##ticket.observerusers##
  ##ticket.action##
helpdesk   ##FOREACH LAST followups##
 
Le dernier suivi ajouté
Par ##followup.author## le ##followup.date##
 
##followup.description##
 
 
##ENDFOREACHfollowups##
Informations du ticket ##ticket.id##
 
##lang.ticket.assigntousers##: ##ticket.assigntousers## ##lang.ticket.assigntogroups##: ##ticket.assigntogroups##
 

##lang.ticket.type## ##ticket.type##
##lang.ticket.status## ##ticket.status## ##lang.ticket.category## ##ticket.category##
       
 
##lang.ticket.creationdate## ##ticket.creationdate## ##lang.ticket.duedate## ##ticket.duedate##
 
##lang.ticket.title## ##ticket.title##
##lang.followup.description## ##ticket.description##

 
##lang.ticket.numberoffollowups##: ##ticket.numberoffollowups##
##FOREACHfollowups####ENDFOREACHfollowups##
Par##followup.author## le##followup.date##
 
##followup.description##
 
 
Plus d informations sur ce ticket
Visualiser ce ticket dans Glpi


 
ddurieux commented 5 years ago

Do you have modified the notification model after generated it? (I mean in the notification model form / translation)

yalgva commented 5 years ago

yes to add our logo and color

ddurieux commented 5 years ago

It's the reason you have problem becuase save with interface breaks some html tags. Regenerate it and update it directly in the database, not have another choice for editing

yalgva commented 5 years ago

do you know if glpi iphone app is available ?

boscorelly commented 5 years ago

there is no glpi app.

Can you close your issue as it's solved ?

juveboss commented 5 years ago

Bonjour ddurieux,

J'ai plusieurs GLPI, j'ai tenté de récupérer le html de ton plugin et de le copier sur un GLPI en 9.2.4 mais cela ne fonctionne pas seulement pour la fin (Idem 1ere photo du 1er post) je n'ai rien modifié :

Par ##followup.author## le ##followup.date##

 ##followup.description##

Y a t'il moyen de l'appliquer quand même sur un glpi ancienne version ?

D'avance merci,

ddurieux commented 5 years ago

La copie ne fonctionne pas, c'est pour ça que le plugin le fait pour toi.

Il faut mettre à jour GLPI

juveboss commented 5 years ago

Merci pour ton retour,

Bonne journée, Cdlt

yalgva commented 5 years ago

Hello

even I modify in database followup line does not appear correctly

Thank you for your help

yalgva commented 5 years ago

The issue comes from description adding, so it is a bug.

For all options it works except for description, if I add this option the template is not correct

Thank you