ikiwiki: Remove extra create button when no wiki/blog is present

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-10-19 19:45:22 -07:00 committed by James Valleroy
parent 54cf2566d8
commit f509dc54c1
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -38,12 +38,6 @@
<div class="col-sm-6">
{% if not sites %}
<p>{% trans "No wikis or blogs available." %}</p>
<p>
<a class="btn btn-primary btn-md"
href="{% url 'ikiwiki:create' %}">
{% trans "Create a Wiki or Blog" %}
</a>
</p>
{% else %}
<div class="list-group">
{% for site in sites %}