Skip to content
Snippets Groups Projects
Commit df26ac08 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Display role tags

parent 2d52fbdf
No related branches found
No related tags found
1 merge request!53Update user profile interface
......@@ -32,8 +32,12 @@
<tr class="el-table__row">
<td>{{ $t('userProfile.roles') }}</td>
<td>
<el-tag v-if="user.roles.moderator" class="user-profile-tag"/>
<el-tag v-if="user.roles.admin" class="user-profile-tag"/>
<el-tag v-if="user.roles.admin" class="user-profile-tag">
{{ $t('users.admin') }}
</el-tag>
<el-tag v-if="user.roles.moderator" class="user-profile-tag">
{{ $t('users.moderator') }}
</el-tag>
<span v-if="!user.roles.moderator && !user.roles.admin"></span>
</td>
</tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment