Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (18 sloc) 0.707 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{% load cms_admin i18n adminmedia %}
{% comment %}
- This template is used within the pagetree as the menu-item
{% endcomment %}

<li id="page_{{page.pk}}" class="{% if cl.is_filtered %}leaf{% endif %}{% if has_move_page_permission %} moveable{% endif %}"{% if metadata %} mdata="{{ metadata }}{% endif %}" rel="{% ifequal page.level 0 %}topnode{% else %}node{% endifequal %}">
{% include "admin/cms/page/tree/menu_item.html" %}
{% with page.childrens as children %}
{% if children %}
<ul{% if page.last %} class="last"{% endif %}>
{% if page.id in open_menu_trees %}
{% for child in children %}
{% show_admin_menu child %}
{% endfor %}
{% endif %}
</ul>
{% endif %}
{% endwith %}
</li>
Something went wrong with that request. Please try again.