## -*- coding: utf-8 -*-
<%inherit file="navbar.tmpl"/>
<%block name="core">
% if not searchresult is None:
%for attr in sorted(attrs_list.keys(), key=lambda attr: attrs_list[attr]['weight']):
${attrs_list[attr]['display_name']}
|
% endfor
Modify
|
Delete
|
%for user in searchresult:
%for attr in sorted(attrs_list.keys(), key=lambda attr: attrs_list[attr]['weight']):
% if attr in searchresult[user]:
<%
value = searchresult[user][attr]
if type(value) is list:
value = ', '.join(value)
%>
${value}
% endif
|
% endfor
|
|
% endfor
%endif
%block>