diff options
author | Dan McGee <dan@archlinux.org> | 2012-05-18 21:29:03 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-18 21:36:11 -0500 |
commit | 72a92102df4999dbcc370064707c9026d51c4fe7 (patch) | |
tree | 7fe5be4bb93cb677952923899b954cc59e1b5e11 /templates/packages/details_depend.html | |
parent | cc44fdbea59596daf106e48acdb3f4137988d0d9 (diff) |
Switch to usage of new Depend object
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details_depend.html')
-rw-r--r-- | templates/packages/details_depend.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html index 8b6e85c9..0cf2c36a 100644 --- a/templates/packages/details_depend.html +++ b/templates/packages/details_depend.html @@ -2,12 +2,12 @@ <li> {% ifequal depend.pkg None %} {% if depend.providers %} -{{ depend.dep.depname }} <span class="virtual-dep">({% multi_pkg_details depend.providers %})</span> +{{ depend.dep.name }}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|default:"" }} <span class="virtual-dep">({% multi_pkg_details depend.providers %})</span> {% else %} -{{ depend.dep.depname }} <span class="virtual-dep">(virtual)</span> +{{ depend.dep.name }}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|default:"" }} <span class="virtual-dep">(virtual)</span> {% endif %} {% else %} -{% pkg_details_link depend.pkg %}{{ depend.dep.depvcmp|default:"" }} +{% pkg_details_link depend.pkg %}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|default:"" }} {% if depend.pkg.repo.testing %} <span class="testing-dep">(testing)</span>{% endif %} {% if depend.pkg.repo.staging %} <span class="staging-dep">(staging)</span>{% endif %} {% endifequal %} |