show user warning if they are not logged in that things won't work
This commit is contained in:
+8
-1
@@ -226,4 +226,11 @@ body {
|
||||
border: 1px solid #2e6da4;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
#log-fun-warn {
|
||||
text-align: center;
|
||||
background-color: #ffd;
|
||||
color: #777;
|
||||
font-size: 14px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,11 @@ var gvars = {{ gvars | tojson }};
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if not user %}
|
||||
<div id="log-fun-warn">(hi! just btw you have to be logged in to be able to add/delete/curate tags for papers)</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="controls">
|
||||
<div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user