Code Repositories xandikos / 18c2a94
Fix templates. Jelmer Vernooń≥ 12 days ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1111 <h2>Subcollections</h2>
1212
1313 <ul>
14 {% for name, resource in principal.subcollections() %}
14 {% for name, resource in getattr(principal, 'subcollections', list)() %}
1515 <li><a href="{{ urljoin(self_url+'/', name+'/') }}">{{ name }}</a></li>
1616 {% endfor %}
1717 </ul>
66
77 <p>Principals on this server:
88 <ul>
9 {% for name in principals %}
10 <li><a href="{{ urljoin(self_url+'/', name+'/') }}">{{ name }}</a></li>
9 {% for path in principals %}
10 <li><a href="{{ urljoin(self_url+'/', path.lstrip('/')+'/') }}">{{ path }}</a></li>
1111 {% endfor %}
1212 </ul>
1313 </p>