diff --git a/plinth/templates/apps.html b/plinth/templates/apps.html index 098be288b..439c36a17 100644 --- a/plinth/templates/apps.html +++ b/plinth/templates/apps.html @@ -11,42 +11,3 @@ {% endblock %} {% block body_class %}apps-page{% endblock %} - -{% block tags %} - {% if tags %} -
- -
- {% endif %} -{% endblock %} diff --git a/plinth/templates/cards.html b/plinth/templates/cards.html index 64ac96354..098b20e36 100644 --- a/plinth/templates/cards.html +++ b/plinth/templates/cards.html @@ -15,7 +15,9 @@ - {% block tags %}{% endblock %} + {% block tags %} + {% include "tags.html" %} + {% endblock %}
diff --git a/plinth/templates/tags.html b/plinth/templates/tags.html new file mode 100644 index 000000000..c263cb8ff --- /dev/null +++ b/plinth/templates/tags.html @@ -0,0 +1,42 @@ +{% comment %} +# SPDX-License-Identifier: AGPL-3.0-or-later +{% endcomment %} + +{% load i18n %} + +{% if tags %} +
+ +
+{% endif %}