Changeset - 071777309be1
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 10 years ago 2015-07-24 17:53:20
thomas.de.schampheleire@gmail.com
admin: e-mail: don't repeat the e-mail settings from the .ini file

None of the settings from the .ini file are currently listed in the admin
interface, except for e-mail. There is no need for such an exception: either
we list all settings or none.
1 file changed with 0 insertions and 24 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/settings/settings_email.html
Show inline comments
 
<dl class="dl-horizontal">
 
<%
 
 elems = [
 
    (_('Email prefix'), c.ini.get('email_prefix'), ''),
 
    (_('Kallithea email from'), c.ini.get('app_email_from'), ''),
 
    (_('Error email from'), c.ini.get('error_email_from'), ''),
 
    (_('Error email recipients'), c.ini.get('email_to'), ''),
 

	
 
    (_('SMTP server'), c.ini.get('smtp_server'), ''),
 
    (_('SMTP username'), c.ini.get('smtp_username'), ''),
 
    (_('SMTP password'), '%s chars' % len(c.ini.get('smtp_password', '')), ''),
 
    (_('SMTP port'), c.ini.get('smtp_port'), ''),
 

	
 
    (_('SMTP use TLS'), c.ini.get('smtp_use_tls'), ''),
 
    (_('SMTP use SSL'), c.ini.get('smtp_use_ssl'), ''),
 
    (_('SMTP auth'), c.ini.get('smtp_auth'), ''),
 
 ]
 
%>
 
%for dt, dd, tt in elems:
 
  <dt style="width:150px; text-align: left">${dt}:</dt>
 
  <dd style="margin-left: 160px" title="${tt}">${dd}</dd>
 
%endfor
 
</dl>
 

	
 
${h.form(url('admin_settings_email'), method='post')}
 
    <div class="form">
 

	
0 comments (0 inline, 0 general)