From 16126c5901c435ea6610eff8b7211226c6f125d5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 13 Jun 2019 17:17:22 -0700 Subject: refactor all entities to new UI style --- .../templates/release_view_contribs.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 python/fatcat_web/templates/release_view_contribs.html (limited to 'python/fatcat_web/templates/release_view_contribs.html') diff --git a/python/fatcat_web/templates/release_view_contribs.html b/python/fatcat_web/templates/release_view_contribs.html new file mode 100644 index 00000000..55cdf133 --- /dev/null +++ b/python/fatcat_web/templates/release_view_contribs.html @@ -0,0 +1,34 @@ +{% set release = entity %} +{% set entity_view = "contribs" %} +{% set entity_type = "release" %} +{% import "entity_macros.html" as entity_macros %} +{% extends "entity_base.html" %} + +{% block entity_main %} + +{% if release.contribs|length > 0 %} + + +{% for contrib in release.contribs %} + +
{% if contrib.index or contrib.index == 0 %} {{ contrib.index + 1 }}{% endif %} +
{{ contrib.role or 'unknown' }} +{% endfor %} +
+{% else %} +

No known contributors (authors, translators, etc). +{% endif %} + +{% endblock %} + -- cgit v1.2.3