comparison sat_templates/templates/default/file/discover.html @ 231:aa37750c2617

theme (default): various fixes: - added missing </tr> in event/admin.html - fixed used of identities - uses `class` from kwargs in input/field.html
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 00:04:47 +0200
parents f7d6ae06c42f
children
comparison
equal deleted inserted replaced
230:0e69b5843c2f 231:aa37750c2617
22 {{ icon('server', cls='file__icon') }} 22 {{ icon('server', cls='file__icon') }}
23 <span> 23 <span>
24 {% if disco_service_entities|count == 1 %} 24 {% if disco_service_entities|count == 1 %}
25 {% trans %}your server{% endtrans %} 25 {% trans %}your server{% endtrans %}
26 {% else %} 26 {% else %}
27 {{ ident.values()[0].values()[0][0] }} 27 {{ (ident.values()|first).values()|first|first }}
28 {% endif %} 28 {% endif %}
29 </span> 29 </span>
30 </a> 30 </a>
31 </li> 31 </li>
32 {% endfor %} 32 {% endfor %}
39 <ul class="grid grid--center"> 39 <ul class="grid grid--center">
40 {% for entity,ident in disco_own_entities.items() %} 40 {% for entity,ident in disco_own_entities.items() %}
41 <li class='grid__item grid__item--medium grid__item--selectable'> 41 <li class='grid__item grid__item--medium grid__item--selectable'>
42 <a href="{{entities_url[entity]}}"> 42 <a href="{{entities_url[entity]}}">
43 {{images.get_icon_client(ident)}} 43 {{images.get_icon_client(ident)}}
44 <span>{{ ident.values()[0].values()[0][0] }}</span> 44 <span>
45 {{ (ident.values()|first).values()|first|first }}
46 </span>
45 </a> 47 </a>
46 </li> 48 </li>
47 {% endfor %} 49 {% endfor %}
48 </ul> 50 </ul>
49 </div> 51 </div>