summaryrefslogtreecommitdiff
path: root/templates/packages/details_relatedto.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/details_relatedto.html.jinja')
-rw-r--r--templates/packages/details_relatedto.html.jinja3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/packages/details_relatedto.html.jinja b/templates/packages/details_relatedto.html.jinja
new file mode 100644
index 00000000..955fdd37
--- /dev/null
+++ b/templates/packages/details_relatedto.html.jinja
@@ -0,0 +1,3 @@
+{% import 'packages/details_link.html.jinja' as details %}{% for related in all_related %}{% with best_satisfier = related.get_best_satisfier() %}
+<span class="related">{% if best_satisfier == None %}{{ related.name }}{% else %}{{ details.details_link(best_satisfier) }}{% endif %}{{ related.comparison|default("") }}{{ related.version|default("") }}{% if not loop.last %}, {% endif %}</span>
+{% endwith %}{% endfor %}