summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-07 16:21:13 -0500
committerDan McGee <dan@archlinux.org>2010-09-07 16:21:13 -0500
commit21c9ba2e63ef962f859aaa8f795d0c16c9bd3e8c (patch)
tree957680954c7ac4d898a226f213ef1ad3f53f87ae
parent5ddf2e28398a3afe65ec7093265093e5c5513434 (diff)
Use flagged style on versions in package differences
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/packages/differences.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html
index 3805285b..1c3e97e3 100644
--- a/templates/packages/differences.html
+++ b/templates/packages/differences.html
@@ -22,11 +22,13 @@
<td>{{ repo.name }}</td>
{% if pkg1 %}
<td><a href="{{ pkg1.get_absolute_url }}"
- title="View package details for {{ pkg1.pkgname }}">{{ pkg1.pkgver }}-{{ pkg1.pkgrel }}</a></td>
+ title="View package details for {{ pkg1.pkgname }}">
+ <span{% if pkg1.flag_date %} class="flagged"{% endif %}>{{ pkg1.pkgver }}-{{ pkg1.pkgrel }}</span></a></td>
{% else %}<td>-</td>{% endif %}
{% if pkg2 %}
<td><a href="{{ pkg2.get_absolute_url }}"
- title="View package details for {{ pkg2.pkgname }}">{{ pkg2.pkgver }}-{{ pkg2.pkgrel }}</a></td>
+ title="View package details for {{ pkg2.pkgname }}">
+ <span{% if pkg2.flag_date %} class="flagged"{% endif %}>{{ pkg2.pkgver }}-{{ pkg2.pkgrel }}</span></a></td>
{% else %}<td>-</td>{% endif %}
</tr>
{% endfor %}