diff options
Diffstat (limited to 'public/views/body.ejs')
-rw-r--r-- | public/views/body.ejs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views/body.ejs b/public/views/body.ejs index 79f2544e..83a82fa3 100644 --- a/public/views/body.ejs +++ b/public/views/body.ejs @@ -15,7 +15,7 @@ <a id="permissionLabel" class="ui-permission-label text-uppercase" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> </a> <ul class="dropdown-menu" aria-labelledby="permissionLabel"> - <li class="ui-permission-freely"><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-locked"><a><i class="fa fa-lock fa-fw"></i> Locked - Only owner can 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> @@ -245,4 +245,4 @@ <%- include refresh-modal %> <%- include signin-modal %> <%- include help-modal %> -<%- include revision-modal %>
\ No newline at end of file +<%- include revision-modal %> |