kopia lustrzana https://github.com/rtts/django-simplecms
Not sure if this accounts for swapped models...
rodzic
89600bad98
commit
d5bbfb67cf
|
@ -10,7 +10,7 @@
|
|||
{% include_section section %}
|
||||
{% endfor %}
|
||||
|
||||
{% if user.is_staff %}
|
||||
{% if perms.cms_page.change %}
|
||||
<div class="edit page">
|
||||
<a href="{% if page.slug %}{% url 'cms:updatepage' page.slug %}{% else %}{% url 'cms:updatepage' %}{% endif %}"><img src="{% static 'cms/edit.png' %}"></a>
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue