dicos/50_gogs.xml: Cacher la variable gogs_mail_from si gogs_mail = 'non'

This commit is contained in:
Philippe Caseiro 2015-05-29 16:54:05 +02:00
parent 93c235c52f
commit c8b789367f
2 changed files with 5 additions and 1 deletions

View File

@ -60,6 +60,10 @@
</family>
</variables>
<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'>
<param>non</param>
<target type='filelist'>gogs</target>

View File

@ -110,7 +110,7 @@ SKIP_TLS_VERIFY = false
%if %%getVar('gogs_mail','non') == 'oui'
[mailer]
ENABLED = false
ENABLED = true
; Buffer length of channel, keep it as it is if you don't know what it is.
SEND_BUFFER_LEN = 10
; Name displayed in mail title