Blender Studio pull request - Version 2.2.0 update #104394

Merged
Márton Lente merged 64 commits from ui/v2.2.0 into main 2024-04-08 16:32:44 +02:00
Showing only changes of commit 6532e5d471 - Show all commits

View File

@ -5,15 +5,15 @@
{% with title=flatpage.title %} {% with title=flatpage.title %}
{% include 'common/components/meta.html' %} {% include 'common/components/meta.html' %}
{% endwith %} {% endwith %}
{% endblock %} {% endblock meta %}
{% block content %} {% block content %}
<div class="navdrawer-offset"> <div class="navdrawer-offset">
<div class="container pt-4"> <div class="container pt-4">
{% if user.is_staff and perms.flatpages.change_flatpage %} {% if user.is_staff and perms.flatpages.change_flatpage %}
<section class="flat-page-content mb-4"> <section class="flat-page-content mb-4">
<a class="btn btn-admin btn-sm" <a class="btn btn-admin"
href="{% url 'admin:flatpages_flatpage_change' flatpage.id %}">Edit Page</a> href="{% url 'admin:flatpages_flatpage_change' flatpage.id %}"><i class="i-edit"></i> Edit page</a>
</section> </section>
{% endif %} {% endif %}
@ -31,6 +31,8 @@
</div> </div>
</section> </section>
{% endblock flatpage_content %} {% endblock flatpage_content %}
{% block flatpage_content_extra %}{% endblock flatpage_content_extra %}
</div> </div>
</div> </div>
{% endblock content %} {% endblock content %}