Permalink
Browse files

fixes #155 home-node has now a softroot icon in admin

  • Loading branch information...
1 parent e56976c commit 48d871a224bc1ffc4e72bd241709e88fc02f3c6b @digi604 digi604 committed Dec 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/templates/admin/cms/page/menu_item.html
@@ -20,7 +20,7 @@
{% endif %}
</span>
- {% if page.soft_root %}<div class="col-softroot"><span class="icon softroot-icon" title="{% trans 'softroot' %}"></span></div>{% endif %}
+ {% if page.soft_root or page.is_home %}<div class="col-softroot"><span class="icon softroot-icon" title="{% if page.soft_root %}{% trans 'softroot' %}{% else %}{% trans 'home' %}{% endif %}"></span></div>{% endif %}
<div class="col-language">{% for lang in page.get_languages %}
{% if has_change_permission %}<a href="{{ url }}{{ page.id }}/?language={{ lang }}" title="{% blocktrans with lang|upper as language %}Edit this page in {{ language }} {% endblocktrans %}">{{ lang }}</a>

0 comments on commit 48d871a

Please sign in to comment.