diff options
author | Wu Cheng-Han | 2017-01-12 19:04:17 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-01-12 19:04:17 +0800 |
commit | 5f65795e79561f7b787767b7c184f66b65f74c5f (patch) | |
tree | 3698105ac23b29c222382d9b73f265f4367baa93 /public/js | |
parent | 7e191acbde048b4ce274d1dbe49fb63a627a3def (diff) |
Fix permission order and keep wording consistency
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/public/js/index.js b/public/js/index.js index 7effcbd7..1dfb02e1 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2291,17 +2291,17 @@ function updatePermission(newPermission) { label = '<i class="fa fa-id-card"></i> Limited'; title = "Signed people can edit & guest can't view" break; - case "private": - label = '<i class="fa fa-hand-stop-o"></i> Private'; - title = "Only owner can view & edit"; + case "locked": + label = '<i class="fa fa-lock"></i> Locked'; + title = "Only owner can edit"; break; case "protected": label = '<i class="fa fa-umbrella"></i> Protected'; title = "Only owner can edit & guest can't view"; break; - case "locked": - label = '<i class="fa fa-lock"></i> Locked'; - title = "Only owner can edit"; + case "private": + label = '<i class="fa fa-hand-stop-o"></i> Private'; + title = "Only owner can view & edit"; break; } if (personalInfo.userid && owner && personalInfo.userid == owner) { |