Source

django-pim / sitetracker / templates / sitetracker / server_list.html

Full commit
Kevin Veroneau fffb63b 












{% for provider in provider_list %}
              <li><a href="{{provider.get_absolute_url}}">{{provider}}</a>{% if provider.server_set.count > 0 %}
              <ul>
                    {% for server in provider.server_set.all %}
                        <li><a href="{{server.get_absolute_url}}">{{server}}</a>{% if server.domain_set.count > 0 %}
                        <ul>
                                {% for domain in server.domain_set.all %}
                                    <li><a href="{{domain.get_absolute_url}}">{{domain}}</a></li>
                                {% endfor %}
                        </ul>
                        {% endif %}</li>
                    {% endfor %}
              </ul>{% endif %}</li>
{% endfor %}