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

Display role tags

parent 03c1ee19
No related branches found
No related tags found
No related merge requests found
......@@ -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