summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-02 05:23:29 +0100
committerDan McGee <dan@archlinux.org>2010-03-02 05:25:11 +0100
commitf7e15ed728d7c5e3470f6127cc21e64baefcbfb2 (patch)
treede2750b09b9cb59830d00d4722187d5f02410a62 /templates
parent8777ccf001374460a573bd1e417b0996a633f6bb (diff)
downloadarchweb-f7e15ed728d7c5e3470f6127cc21e64baefcbfb2.tar.gz
archweb-f7e15ed728d7c5e3470f6127cc21e64baefcbfb2.tar.xz
Add '(testing)' suffix to dependencies list
Just like it already was in the required by list. This should address FS#10475. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 49fdc22..9b7a049 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -77,7 +77,7 @@
{% ifequal depend.pkg None %}
<li>{{ depend.dep.depname }} (virtual)</li>
{% else %}
- <li><a href="{{ depend.pkg.get_absolute_url }}">{{ depend.dep.depname }}</a>{{ depend.dep.depvcmp }}</li>
+ <li><a href="{{ depend.pkg.get_absolute_url }}">{{ depend.dep.depname }}</a>{{ depend.dep.depvcmp }}{% ifequal depend.pkg.repo.name "Testing" %} (testing){% endifequal %}</li>
{% endifequal %}
{% endfor %}
</ul>
@@ -92,7 +92,7 @@
{% if rqdby %}
<ul style="font-size:small;list-style:none">
{% for req in rqdby %}
- <li><a href="{{req.get_absolute_url}}">{{ req.pkgname }}{% ifequal req.repo.name "Testing" %} (testing){% endifequal %}{% ifequal req.repo.name "Unstable" %} (unstable){% endifequal %}</a></li>
+ <li><a href="{{req.get_absolute_url}}">{{ req.pkgname }}</a>{% ifequal req.repo.name "Testing" %} (testing){% endifequal %}</li>
{% endfor %}
</ul>
{% endif %}