Add support of allow anonymous config option with correspond modifications
This commit is contained in:
@@ -62,13 +62,17 @@
|
||||
<br>
|
||||
<a type="button" class="btn btn-lg btn-success ui-signin" data-toggle="modal" data-target=".signin-modal" style="min-width: 170px;"><%= __('Sign In') %></a>
|
||||
</span>
|
||||
<% }%>
|
||||
<% if((facebook || twitter || github || gitlab || dropbox || google || email) && allowAnonmyous) { %>
|
||||
<span class="ui-or"><%= __('or') %></span>
|
||||
<% }%>
|
||||
<% if(allowAnonmyous) { %>
|
||||
<span class="ui-signin">
|
||||
<a href="<%- url %>/new" class="btn btn-lg btn-default" style="min-width: 170px;"><%= __('New guest note') %></a>
|
||||
<br>
|
||||
<br>
|
||||
</span>
|
||||
<% }%>
|
||||
<div class="lead row" style="width: 90%; margin: 0 auto;">
|
||||
<div class="col-md-4 inner">
|
||||
<a href="<%- url %>/features#share-notes">
|
||||
|
||||
Reference in New Issue
Block a user