forked from expo/troggle
Detect unwriteable file permissions earlier
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
{% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %}
|
||||
{% block body %}
|
||||
{{ body|safe }}
|
||||
{% if homepage %}
|
||||
{% if editable %}
|
||||
<a href="{% url "editexpopage" path %}">Edit</a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not has_menu %}
|
||||
{% include "menu.html" %}
|
||||
{% if homepage %}
|
||||
{% if editable %}
|
||||
<a href="{% url "editexpopage" path %}">Edit</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if not has_menu %}
|
||||
{% include "menu.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user