summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <gueux@gueux.org>2013-11-15 14:00:21 +0100
committerFélix Sipma <gueux@gueux.org>2013-11-15 14:00:21 +0100
commitd11fad2644375feb95fa41e757eb1f8bf6da4819 (patch)
tree5bbec7c8cdda7b71fac7ba6fa6e548006192baed
parente9660c5344adfcb45be94faa33e8b4fa9473797d (diff)
add page number in menu
-rw-r--r--uved/templates/menu/menu.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/uved/templates/menu/menu.html b/uved/templates/menu/menu.html
index 34ac071..1294099 100644
--- a/uved/templates/menu/menu.html
+++ b/uved/templates/menu/menu.html
@@ -5,7 +5,7 @@
{% get_module_pk child.page_instance as childmodulepk %}
{% if modulepk == childmodulepk %}
<li class="menu_{{ forloop.counter }} {% if child.selected %}current selected{% endif %}{% if child.ancestor %}ancestor{% endif %}{% if child.sibling %}sibling{% endif %}{% if child.descendant %}descendant{% endif %}">
- <a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ child.get_menu_title }}</a>
+ <a href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">{{ forloop.counter }} - {{ child.get_menu_title }}</a>
{% if child.children %}
<ul>
{% show_menu from_level to_level extra_inactive extra_active template "" "" child %}