$def with (user)
$var title=_("User profile - %s") % user.name
$var hierarchy = []
$var tab: users

<p>$(_("User profile - %s") % user.name)</p>
<ul class="userview">
    <li>
        <div class="key">$(_("Username"))</div>
        <div class="value">$(user.name)</div>
    </li>
    <li>
        <div class="key">$(_("Email"))</div>
        <div class="value">$(user.email)</div>
    </li>
    <li>
        <div class="key">$(_("Is superuser"))</div>
        <div class="value">$(user.super_user)</div>
    </li>
    <li>
        <div class="key">$(_("Creation Date"))</div>
        <div class="value">$(user.creation_date)</div>
    </li>
    <li>
        <div class="key">$(_("Status"))</div>
        <div class="value">$(user.state)</div>
    </li>
    <li>
        <div class="key">$(_("Assigned organizative units"))</div>
        <div class="value">
        <ul>
            $for ou in user.organizative_units:
                <li><a href="/navigator/ou/$(ou.name)">$(ou.name)</a></li>
        </ul>
        </div>
    </li>
</ul>
