diff --git a/cps/templates/admin.html b/cps/templates/admin.html index 78773cac..2be9028e 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -1,105 +1,124 @@ {% extends "layout.html" %} {% block body %} -
{{_('Nickname')}} | -{{_('E-mail')}} | -{{_('Kindle')}} | -{{_('DLS')}} | -{{_('Admin')}} | -{{_('Download')}} | -{{_('Upload')}} | -{{_('Edit')}} | -
---|---|---|---|---|---|---|---|
{{user.nickname}} | -{{user.email}} | -{{user.kindle_mail}} | -{{user.downloads.count()}} | -{% if user.role_admin() %}{% else %}{% endif %} | -{% if user.role_download() %}{% else %}{% endif %} | -{% if user.role_upload() %}{% else %}{% endif %} | -{% if user.role_edit() %}{% else %}{% endif %} | -
{{_('SMTP hostname')}} | -{{_('SMTP port')}} | -{{_('SSL')}} | -{{_('SMTP login')}} | -{{_('From mail')}} | -
---|---|---|---|---|
{{email.mail_server}} | -{{email.mail_port}} | -{% if email.mail_use_ssl %}{% else %}{% endif %} | -{{email.mail_login}} | -{{email.mail_from}} | -
{{_('Nickname')}} | +{{_('E-mail')}} | +{{_('Kindle')}} | +{{_('DLS')}} | +{{_('Admin')}} | +{{_('Download')}} | +{{_('Upload')}} | +{{_('Edit')}} | +
---|---|---|---|---|---|---|---|
{{user.nickname}} | +{{user.email}} | +{{user.kindle_mail}} | +{{user.downloads.count()}} | +{% if user.role_admin() %}{% else %}{% endif %} | +{% if user.role_download() %}{% else %}{% endif %} | +{% if user.role_upload() %}{% else %}{% endif %} | +{% if user.role_edit() %}{% else %}{% endif %} | +
{{_('SMTP hostname')}} | +{{_('SMTP port')}} | +{{_('SSL')}} | +{{_('SMTP login')}} | +{{_('From mail')}} | +
---|---|---|---|---|
{{email.mail_server}} | +{{email.mail_port}} | +{% if email.mail_use_ssl %}{% else %}{% endif %} | +{{email.mail_login}} | +{{email.mail_from}} | +