modificata logica parametri email

This commit is contained in:
2025-09-10 17:02:41 +02:00
parent f1f7872edd
commit a4475ee6a5
9 changed files with 374 additions and 108 deletions

View File

@ -50,7 +50,7 @@
showon="firma_obbligatoria:1" />
<field name="notify" type="radio"
label="Invia email"
description="Se Sì, invia subito una email ai gruppi selezionati"
description="Se Sì, invia subito una email ai gruppi selezionati dopo aver salvato"
default="0"
filter="unset"
showon="firma_obbligatoria:1"

View File

@ -29,4 +29,32 @@
</field>
<field name="version_note" type="text" label="JGLOBAL_FIELD_VERSION_NOTE_LABEL" description="JGLOBAL_FIELD_VERSION_NOTE_DESC" class="inputbox" size="45" labelclass="control-label"/>
</fieldset>
<fieldset name="mail" label="Email">
<field
name="email_subject"
type="text"
label="Oggetto email"
description="Oggetto della mail di notifica; supporta {TITOLO}, {SCADENZA}, {DIRIGENTE}."
size="60"
/>
<field
name="email_body"
type="textarea"
label="Testo email"
description="Corpo della mail; supporta {NOME}, {TITOLO}, {SCADENZA}, {LINK}, {DIRIGENTE}."
rows="10" cols="60"
class="span-12 monospace"
filter="raw"
/>
<field
name="dirigente_nome"
type="text"
label="Nominativo dirigente"
description="Firma/mail footer, usato come {DIRIGENTE}."
size="40"
/>
</fieldset>
</form>