Blender Studio pull request - Version 2.2.0 update #104394
@ -5,15 +5,15 @@
|
||||
{% with title=flatpage.title %}
|
||||
{% include 'common/components/meta.html' %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
{% endblock meta %}
|
||||
|
||||
{% block content %}
|
||||
<div class="navdrawer-offset">
|
||||
<div class="container pt-4">
|
||||
{% if user.is_staff and perms.flatpages.change_flatpage %}
|
||||
<section class="flat-page-content mb-4">
|
||||
<a class="btn btn-admin btn-sm"
|
||||
href="{% url 'admin:flatpages_flatpage_change' flatpage.id %}">Edit Page</a>
|
||||
<a class="btn btn-admin"
|
||||
href="{% url 'admin:flatpages_flatpage_change' flatpage.id %}"><i class="i-edit"></i> Edit page</a>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
@ -31,6 +31,8 @@
|
||||
</div>
|
||||
</section>
|
||||
{% endblock flatpage_content %}
|
||||
|
||||
{% block flatpage_content_extra %}{% endblock flatpage_content_extra %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
Loading…
Reference in New Issue
Block a user