From e26b7625a9278eb3e1dabf237e04fd5093b3caa7 Mon Sep 17 00:00:00 2001 From: Felipe Vieira Date: Tue, 6 Dec 2011 19:19:27 +0000 Subject: [PATCH] adicionando informacao do ldap nos servidores --- .../diagnosticos/diagnostico/change_form.html | 4 +-- .../servidores/servidor/change_form.html | 27 +++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 sigi/templates/admin/servidores/servidor/change_form.html diff --git a/sigi/templates/admin/diagnosticos/diagnostico/change_form.html b/sigi/templates/admin/diagnosticos/diagnostico/change_form.html index 9617a3f..e806c30 100644 --- a/sigi/templates/admin/diagnosticos/diagnostico/change_form.html +++ b/sigi/templates/admin/diagnosticos/diagnostico/change_form.html @@ -1,6 +1,6 @@ {% extends 'admin/change_form.html' %} -{% block extrahead %} - {{ block.super }} +{% block extrastyle %} + {{ block.super }} {% endblock %} diff --git a/sigi/templates/admin/servidores/servidor/change_form.html b/sigi/templates/admin/servidores/servidor/change_form.html new file mode 100644 index 0000000..3f05808 --- /dev/null +++ b/sigi/templates/admin/servidores/servidor/change_form.html @@ -0,0 +1,27 @@ +{% extends 'admin/change_form.html' %} + +{% block form_top %} +{% if adminform.form.instance.user %} +
+

Dados do servidor LDAP

+
+
+ +

{{adminform.form.instance.user.first_name}}

+
+
+
+
+ +

{{adminform.form.instance.user.last_name}}

+
+
+
+
+ +

{{adminform.form.instance.user.email}}

+
+
+
+{% endif %} +{% endblock %}