updates to item, item_group and website

This commit is contained in:
Rushabh Mehta
2012-12-20 17:11:51 +05:30
parent 608a751b57
commit fc19f25c88
20 changed files with 277 additions and 153 deletions

View File

@@ -35,7 +35,11 @@
<ul class="dropdown-menu">
{% for child in page.child_items %}
<li data-label="{{ child.label }}">
<a href="{{ child.url }}" {{ child.target or '' }}>
<a {% if child.indent %}
style="padding-left:
{{(int(child.indent)+1)*15 }}px"
{% endif %}
href="{{ child.url }}" {{ child.target or '' }}>
{{ child.label }}
</a>
</li>