Created
April 9, 2012 22:32
-
-
Save shurik/2347089 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/project/templates/pages/menus/admin.html b/project/templates/pages/menus/admin.html | |
index 39299d6..c92e283 100644 | |
--- a/project/templates/pages/menus/admin.html | |
+++ b/project/templates/pages/menus/admin.html | |
@@ -41,7 +41,11 @@ | |
</div> | |
<br clear="all" /> | |
+ {% if page.children.all %} | |
{% page_menu page %} | |
+ {% else %} | |
+ <ul><li id="ordering_-1"> </li></ul> | |
+ {% endif %} | |
</li> | |
{% endfor %} | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment