mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
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:
parent
54cf2566d8
commit
f509dc54c1
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user