Author: david.michon
Date: Wed Jun 24 02:06:07 2009
New Revision: 585
Modified:
branches/electron/pages/templates/admin/pages/page/menu.html
Log:
Modified: branches/electron/pages/templates/admin/pages/page/menu.html
==============================================================================
--- branches/electron/pages/templates/admin/pages/page/menu.html
(original)
+++ branches/electron/pages/templates/admin/pages/page/menu.html Wed Jun
24
02:06:07 2009
@@ -18,7 +18,11 @@
<a class="viewlink" href="{{ page.get_absolute_url }}"
target="_blank" title="{% trans "view this page" %}"></a>
<a class="movelink" id="move-link-{{ page.id }}"
href="#" title="{% trans "move this page" %}"></a>
<a class="addlink" id="add-link-{{ page.id }}"
href="#" title="{% trans "insert a new page here" %}"></a>
+ {% if not page.children.count %}
<a class="deletelink" href="{{ page.id }}/delete/"
title="{% trans "delete this page" %}"></a>
+ {% else %}
+ <a></a>
+ {% endif %}
<a class="cancellink" href="#" title="{%
trans "don't move this page" %}">{% trans "cancel" %}</a>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---