mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
disable role select for self
This commit is contained in:
parent
e326e1ab81
commit
86318b9a7d
@ -43,7 +43,7 @@ class CorpusFollowerList extends ResourceList {
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-field disable-on-click list-action-trigger" data-list-action="update-role">
|
||||
<select ${values['user_id'] === currentUserId ? 'disabled' : ''}>
|
||||
<select ${values['follower-id'] === currentUserId ? 'disabled' : ''}>
|
||||
<option value="Viewer" ${values['role-name'] === 'Viewer' ? 'selected' : ''}>Viewer</option>
|
||||
<option value="Contributor" ${values['role-name'] === 'Contributor' ? 'selected' : ''}>Contributor</option>
|
||||
<option value="Administrator" ${values['role-name'] === 'Administrator' ? 'selected' : ''}>Administrator</option>
|
||||
|
Loading…
Reference in New Issue
Block a user