From b4bf2a6ebb56b5e2f71eb1db960bc10e296ed6ad Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 12 Apr 2012 16:47:30 -0500 Subject: Show conflicts and replacements on package details page Signed-off-by: Dan McGee --- templates/packages/details.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/templates/packages/details.html b/templates/packages/details.html index 5c08bf11..af67ca43 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -124,7 +124,19 @@ {% with pkg.provides.all as provides %}{% if provides %} Provides: - {% for p in provides %}{{ p.name }}{% if p.version %}={{ p.version }}{% endif %}
{% endfor %} + {% for item in provides %}{{ item }}
{% endfor %} + + {% endif %}{% endwith %} + {% with pkg.conflicts.all as conflicts %}{% if conflicts %} + + Conflicts: + {% for item in conflicts %}{{ item }}
{% endfor %} + + {% endif %}{% endwith %} + {% with pkg.replaces.all as replaces %}{% if replaces %} + + Replaces: + {% for item in replaces %}{{ item }}
{% endfor %} {% endif %}{% endwith %} -- cgit v1.2.3-55-g3dc8