Hi Team,
I would like Zammad to send greetings according to the time of day, I mean, good morning, good afternoon, and good evening.
I have this code in the Spanish views, app/views/mailer/ticket_create/es.html.erb
Nuevo Ticket (#{ticket.title})
<div>
<% night = Time.now.dst? ? 21 : 19 %>
<% {0..11 => 'Buenos días', 12..(night-1) => 'Buenas tardes', (night)..23 => 'Buenas noches'}.each { |k, v| break v if k.cover? Time.now.hour } %>
#{recipient.firstname},</div>
In addition, I would also like Zammad to not overwrite views when updating with RPM packages.