Commit a4007abb authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

views: users displayed as 'first name' 'last name'

parent a6c30a27
......@@ -14,7 +14,7 @@
<div id="db_auth">
{{if auth.user:}}
{{=auth.user.first_name}}
{{=auth.user.first_name}} {{=auth.user.last_name}}
<a class="button" onclick="db.request('default/user/logout');">(logout)</a>
{{pass}}
</div>
......
......@@ -25,7 +25,7 @@ query = db(
{{for row in query :}}
<tr onclick="db.call('user/info', {'id' :'{{=row.id}}'} )">
<td> {{=row.last_name + " " + row.first_name }} </td>
<td> {{=row.first_name + " " + row.last_name }} </td>
<td> {{=row.email}} </td>
</tr>
{{pass}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment