Show padlock on private database page, refs #811

This commit is contained in:
Simon Willison 2020-06-08 07:23:10 -07:00
commit 3ce7f2e7da
3 changed files with 14 additions and 1 deletions

View file

@ -18,7 +18,7 @@
{% block content %}
<h1 style="padding-left: 10px; border-left: 10px solid #{{ database_color(database) }}">{{ metadata.title or database }}</h1>
<h1 style="padding-left: 10px; border-left: 10px solid #{{ database_color(database) }}">{{ metadata.title or database }}{% if private %} 🔒{% endif %}</h1>
{% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %}