show user warning if they are not logged in that things won't work

This commit is contained in:
Andrej Karpathy committed 2021-11-26 20:57:20 -08:00
1 parent c3ce3e3f70
commit e4fe77d118
2 files changed
+13 -1

No files matched your search

+5
View File
@@ -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>