Changeset 2047

Show
Ignore:
Timestamp:
06/18/09 12:40:29 (9 months ago)
Author:
JensDiemer
Message:

display "switch site" only, if more than one exist ;)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.9/pylucid_project/apps/pylucid/templates/admin/base_site.html

    r2045 r2047  
    6363        <a href="/">&lt;&lt; back to "/" root page</a> 
    6464    </li> 
     65    {% if not sites|length_is:"1" %} 
    6566    <li> 
    6667        <a>{% trans 'switch site' %}</a> 
    6768        <ul> 
    68          
    6969        {% for site in sites %} 
    7070          <li> 
     
    8080        </ul> 
    8181    </li> 
     82    {% endif %} 
    8283    <li> 
    8384        <a href="#TODO">{% trans 'admin menu' %}</a>