mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
Adjust permission order to more clarly
This commit is contained in:
parent
be7696170f
commit
7b02c48d93
3 changed files with 10 additions and 10 deletions
|
@ -2287,22 +2287,22 @@ function updatePermission(newPermission) {
|
|||
label = '<i class="fa fa-shield"></i> Editable';
|
||||
title = "Signed people can edit";
|
||||
break;
|
||||
case "locked":
|
||||
label = '<i class="fa fa-lock"></i> Locked';
|
||||
title = "Only owner can edit";
|
||||
case "limited":
|
||||
label = '<i class="fa fa-shield"></i> Limited';
|
||||
title = "Signed people can view & edit"
|
||||
break;
|
||||
case "private":
|
||||
label = '<i class="fa fa-hand-stop-o"></i> Private';
|
||||
title = "Only owner can view & edit";
|
||||
break;
|
||||
case "limited":
|
||||
label = '<i class="fa fa-hand-shield"></i> Limited';
|
||||
title = "Signed people can view and edit"
|
||||
break;
|
||||
case "protected":
|
||||
label = '<i class="fa fa-hand-stop-o"></i> Protected';
|
||||
title = "Signed people can view";
|
||||
break;
|
||||
case "locked":
|
||||
label = '<i class="fa fa-lock"></i> Locked';
|
||||
title = "Only owner can edit";
|
||||
break;
|
||||
}
|
||||
if (personalInfo.userid && owner && personalInfo.userid == owner) {
|
||||
label += ' <i class="fa fa-caret-down"></i>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue