From 30dc907d827836e81ef6d360e8abc3df7d8c7b3d Mon Sep 17 00:00:00 2001 From: kakwa Date: Sun, 31 May 2015 22:39:47 +0200 Subject: [PATCH] cleaning the result table in search* --- resources/templates/searchadmin.tmpl | 15 ++------------- resources/templates/searchuser.tmpl | 9 ++------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/resources/templates/searchadmin.tmpl b/resources/templates/searchadmin.tmpl index 0cf3db9..901562f 100644 --- a/resources/templates/searchadmin.tmpl +++ b/resources/templates/searchadmin.tmpl @@ -15,6 +15,7 @@ + % if not searchresult is None:
@@ -61,21 +62,9 @@ % endfor - - %for attr in attrs_list: - - ${attrs_list[attr]} - - % endfor - - Modify - - - Delete - -
+ %endif diff --git a/resources/templates/searchuser.tmpl b/resources/templates/searchuser.tmpl index f9f7129..db3612f 100644 --- a/resources/templates/searchuser.tmpl +++ b/resources/templates/searchuser.tmpl @@ -15,6 +15,7 @@ + % if not searchresult is None:
@@ -41,15 +42,9 @@ % endfor - - %for attr in attrs_list: - - ${attrs_list[attr]} - - % endfor -
+ %endif