From 4cfd29942b7f26512460a304ba3a74b0881e22f6 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Mon, 1 Jun 2015 23:53:05 +0200 Subject: [PATCH] compact xml --- .../templates/cas_server/serviceValidate.xml | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/cas_server/templates/cas_server/serviceValidate.xml b/cas_server/templates/cas_server/serviceValidate.xml index 7e686d6..a2790e4 100644 --- a/cas_server/templates/cas_server/serviceValidate.xml +++ b/cas_server/templates/cas_server/serviceValidate.xml @@ -3,20 +3,12 @@ {{username}} {% for key, value in attributes %} {{value}} -{% endfor %} - -{% for key, value in attributes %} - -{% endfor %} -{% if proxyGrantingTicket %} - {{proxyGrantingTicket}} -{% endif %} -{% if proxies %} - - {% for proxy in proxies %} - {{proxy}} - {% endfor %} - -{% endif %} +{% endfor %} +{% for key, value in attributes %} +{% endfor %}{% if proxyGrantingTicket %} + {{proxyGrantingTicket}}{% endif %} +{% if proxies %} {% for proxy in proxies %} + {{proxy}}{% endfor %} + {% endif %}