mirror of https://github.com/status-im/codimd.git
Update limited/protected permission icon
This commit is contained in:
parent
758607d378
commit
a9fe43ac3a
|
@ -2288,10 +2288,7 @@ function updatePermission(newPermission) {
|
||||||
title = "Signed people can edit";
|
title = "Signed people can edit";
|
||||||
break;
|
break;
|
||||||
case "limited":
|
case "limited":
|
||||||
label = '<span class="fa-stack" aria-hidden="true">' +
|
label = '<i class="fa fa-exclamation-circle"></i> Limited';
|
||||||
'<i class="fa fa-shield fa-stack-1x"></i>' +
|
|
||||||
'<i class="fa fa-circle-thin fa-stack-2x"></i>' +
|
|
||||||
'</span> Limited';
|
|
||||||
title = "Signed people can edit & guest can't view"
|
title = "Signed people can edit & guest can't view"
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
|
@ -2299,10 +2296,7 @@ function updatePermission(newPermission) {
|
||||||
title = "Only owner can view & edit";
|
title = "Only owner can view & edit";
|
||||||
break;
|
break;
|
||||||
case "protected":
|
case "protected":
|
||||||
label = '<span class="fa-stack aria-hidden="true">' +
|
label = '<i class="fa fa-umbrella"></i> Protected';
|
||||||
'<i class="fa fa-hand-stop-o"></i>' +
|
|
||||||
'<i class="fa fa-circle-thin fa-stack-2x"></i>' +
|
|
||||||
'</span> Protected';
|
|
||||||
title = "Only owner can edit & guest can't view";
|
title = "Only owner can edit & guest can't view";
|
||||||
break;
|
break;
|
||||||
case "locked":
|
case "locked":
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
<ul class="dropdown-menu" aria-labelledby="permissionLabel">
|
<ul class="dropdown-menu" aria-labelledby="permissionLabel">
|
||||||
<li class="ui-permission-freely"<% if(!allowAnonymous) { %> style="display: none;"<% } %>><a><i class="fa fa-leaf fa-fw"></i> Freely - Anyone can edit</a></li>
|
<li class="ui-permission-freely"<% if(!allowAnonymous) { %> style="display: none;"<% } %>><a><i class="fa fa-leaf fa-fw"></i> Freely - Anyone can edit</a></li>
|
||||||
<li class="ui-permission-editable"><a><i class="fa fa-shield fa-fw"></i> Editable - Signed people can edit</a></li>
|
<li class="ui-permission-editable"><a><i class="fa fa-shield fa-fw"></i> Editable - Signed people can edit</a></li>
|
||||||
<li class="ui-permission-limited"><a><i class="fa fa-shield fa-fw"></i> Limited - Signed people can edit & view</a></li>
|
<li class="ui-permission-limited"><a><i class="fa fa-exclamation-circle fa-fw"></i> Limited - Signed people can edit & view</a></li>
|
||||||
<li class="ui-permission-private"><a><i class="fa fa-hand-stop-o fa-fw"></i> Private - Only owner can view & edit</a></li>
|
<li class="ui-permission-private"><a><i class="fa fa-hand-stop-o fa-fw"></i> Private - Only owner can view & edit</a></li>
|
||||||
<li class="ui-permission-protected"><a><i class="fa fa-hand-stop-o fa-fw"></i> Protected - Only owner can edit</a></li>
|
<li class="ui-permission-protected"><a><i class="fa fa-umbrella fa-fw"></i> Protected - Only owner can edit</a></li>
|
||||||
<li class="ui-permission-locked"><a><i class="fa fa-lock fa-fw"></i> Locked - Only owner can edit</a></li>
|
<li class="ui-permission-locked"><a><i class="fa fa-lock fa-fw"></i> Locked - Only owner can edit</a></li>
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li class="ui-delete-note"><a><i class="fa fa-trash-o fa-fw"></i> Delete this note</a></li>
|
<li class="ui-delete-note"><a><i class="fa fa-trash-o fa-fw"></i> Delete this note</a></li>
|
||||||
|
|
Loading…
Reference in New Issue