diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-07 23:21:13 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-07 23:21:13 +0200 |
commit | 21c9ba2e63ef962f859aaa8f795d0c16c9bd3e8c (patch) | |
tree | 957680954c7ac4d898a226f213ef1ad3f53f87ae /templates/packages | |
parent | 5ddf2e28398a3afe65ec7093265093e5c5513434 (diff) | |
download | archweb-21c9ba2e63ef962f859aaa8f795d0c16c9bd3e8c.tar.gz archweb-21c9ba2e63ef962f859aaa8f795d0c16c9bd3e8c.tar.xz |
Use flagged style on versions in package differences
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/differences.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html index 3805285..1c3e97e 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 %} |