dicos/50_gogs.xml: Cacher la variable gogs_mail_from si gogs_mail = 'non'
This commit is contained in:
parent
93c235c52f
commit
c8b789367f
|
@ -60,6 +60,10 @@
|
||||||
</family>
|
</family>
|
||||||
</variables>
|
</variables>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
<condition name='hidden_if_in' source='gogs_mail'>
|
||||||
|
<param>non</param>
|
||||||
|
<target type='variable'>gogs_mail_from</target>
|
||||||
|
</condition>
|
||||||
<condition name='disabled_if_in' source='activer_gogs'>
|
<condition name='disabled_if_in' source='activer_gogs'>
|
||||||
<param>non</param>
|
<param>non</param>
|
||||||
<target type='filelist'>gogs</target>
|
<target type='filelist'>gogs</target>
|
||||||
|
|
|
@ -110,7 +110,7 @@ SKIP_TLS_VERIFY = false
|
||||||
|
|
||||||
%if %%getVar('gogs_mail','non') == 'oui'
|
%if %%getVar('gogs_mail','non') == 'oui'
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = false
|
ENABLED = true
|
||||||
; Buffer length of channel, keep it as it is if you don't know what it is.
|
; Buffer length of channel, keep it as it is if you don't know what it is.
|
||||||
SEND_BUFFER_LEN = 10
|
SEND_BUFFER_LEN = 10
|
||||||
; Name displayed in mail title
|
; Name displayed in mail title
|
||||||
|
|
Loading…
Reference in New Issue