mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-06 10:20:43 +00:00
- Remove yet another reference to 'plinth'. Tests: - Some basic pages work. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
28 lines
820 B
HTML
28 lines
820 B
HTML
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
{% load static %}
|
|
{% load extras %}
|
|
|
|
<div class="card">
|
|
<a href="{{ item.url }}">
|
|
<div class="card-icon">
|
|
{% if 'fa-' in item.icon %}
|
|
{% icon item.icon|slice:"3:" class='card-icon' %}
|
|
{% else %}
|
|
{% if item.app_id %}
|
|
{% icon item.app_id|add:'/icons/'|add:item.icon|add:'.svg' class='card-icon' %}
|
|
{% else %}
|
|
{% icon item.icon class='card-icon' %}
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
<div class="card-title">{{ item.name }}</div>
|
|
<div class="card-tags">
|
|
{% for tag in item.tags|slice:":3" %}<span class="tag">{% trans tag %}</span>{% if not forloop.last %}<span class="tag-separator"></span>{% endif %}{% endfor %}
|
|
</div>
|
|
</a>
|
|
</div>
|