You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
{% extends "layouts/app.html" %} |
|
{% block title %}{% lisp (title! "User detail") %}{% endblock %} |
|
{% block content %} |
|
<h1>{% lisp (title!) %}</h1> |
|
|
|
<div class="toolbar"><a href="/users/{{id}}/edit">Edit</a></div> |
|
|
|
<table class="attr"> |
|
<tr> |
|
<th width="150">Number</th> |
|
<td>{{user.number}}</td> |
|
</tr> |
|
<tr> |
|
<th>Name</th> |
|
<td>{{user.name}}</td> |
|
</tr> |
|
<tr> |
|
<th>Full name</th> |
|
<td>{{user.full-name}}</td> |
|
</tr> |
|
<tr> |
|
<th>Sex</th> |
|
<td> |
|
{% ifequal user.sex 1 %} |
|
Male |
|
{% else %} |
|
Female |
|
{% endifequal %} |
|
</td> |
|
</tr> |
|
<tr> |
|
<th>Birthday</th> |
|
<td> |
|
{{ user.birthday| |
|
lisp: local-time:timestamp-to-universal| |
|
date: ((:year 4)"/"(:month 2)"/"(:day 2)) }} |
|
</td> |
|
</tr> |
|
<tr> |
|
<th>Mail adress</th> |
|
<td>{{user.email}}</td> |
|
</tr> |
|
<tr> |
|
<th>administrator</th> |
|
<td> |
|
{% if user.administrator %} |
|
Yes |
|
{% else %} |
|
No |
|
{% endif %} |
|
</td> |
|
</tr> |
|
</table> |
|
{% endblock %}
|
|
|