2015-02-08 22:37:55 +01:00
|
|
|
<h1>{{ user.get_short_name() }}</h1>
|
|
|
|
|
|
|
|
<div id="submenu">
|
|
|
|
<a ui-sref="users.user.list" class="btn btn-sm btn-default">
|
|
|
|
<i class="fa fa-angle-double-left fa-lg"></i>
|
|
|
|
<translate>Back to overview</translate>
|
|
|
|
</a>
|
2015-06-25 10:19:38 +02:00
|
|
|
<!-- project -->
|
|
|
|
<a os-perms="core.can_manage_projector" class="btn btn-default btn-sm"
|
|
|
|
ng-class="{ 'btn-primary': user.isProjected() }"
|
|
|
|
ng-click="user.project()"
|
|
|
|
title="{{ 'Project user' | translate }}">
|
|
|
|
<i class="fa fa-video-camera"></i>
|
|
|
|
</a>
|
|
|
|
<!-- edit -->
|
|
|
|
<a ui-sref="users.user.detail.update({id: user.id })" os-perms="users.can_manage"
|
|
|
|
class="btn btn-default btn-sm"
|
|
|
|
title="{{ 'Edit' | translate}}">
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
</a>
|
2015-02-08 22:37:55 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="user_details form-group">
|
|
|
|
<fieldset>
|
|
|
|
<legend translate>Personal data</legend>
|
|
|
|
<label translate>Structure level</label>
|
|
|
|
{{ user.structure_level }}
|
|
|
|
<label translate>Groups</label>
|
2015-06-25 10:19:38 +02:00
|
|
|
<div ng-repeat="group in user.groups">
|
|
|
|
{{ (groups | filter: {id: group})[0].name }}
|
|
|
|
</div>
|
2015-02-08 22:37:55 +01:00
|
|
|
<label translate>About me</label>
|
2015-06-25 10:19:38 +02:00
|
|
|
<div class="white-space-pre-line">{{ user.about_me }}</div>
|
2015-02-08 22:37:55 +01:00
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset os-perms="users.can_manage">
|
|
|
|
<legend translate>Administrative data</legend>
|
|
|
|
<label translate>Username</label>
|
|
|
|
{{ user.username }}
|
|
|
|
<label translate>Comment</label>
|
2015-06-25 10:19:38 +02:00
|
|
|
<div class="white-space-pre-line">{{ user.comment }}</div>
|
2015-02-08 22:37:55 +01:00
|
|
|
</fieldset>
|
|
|
|
</div>
|