diff options
author | Dan McGee <dan@archlinux.org> | 2014-11-05 22:39:21 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-11-05 22:39:21 -0600 |
commit | 1bf6358b94d0466cd0ab0e5ef47bd45d770e477e (patch) | |
tree | 2003fdeeddb1ac4313331389ef7fd3065369da99 /templates | |
parent | 87e8a16d6573d760cfb2a1388c29c1ea768fc620 (diff) |
Always link to torrent and magnet, even if not available
We were already doing this on the details page; no need to hide it on
the listing page.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/releng/release_list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/releng/release_list.html b/templates/releng/release_list.html index be257f9e..5c8e003a 100644 --- a/templates/releng/release_list.html +++ b/templates/releng/release_list.html @@ -31,9 +31,9 @@ <td><a href="{{ item.get_absolute_url }}" title="Release details for {{ item.version }}">{{ item.version }}</a></td> <td>{{ item.kernel_version|default:"" }}</td> <td class="available-{{ item.available|yesno }}">{{ item.available|yesno|capfirst }}</td> - <td>{% if item.available %}<a href="{% url 'releng-release-torrent' item.version %}" - title="Download torrent for {{ item.version }}">Torrent</a>{% endif %}</td> - <td>{% if item.available %}<a href="{{ item.magnet_uri }}">Magnet</a>{% endif %}</td> + <td><a href="{% url 'releng-release-torrent' item.version %}" + title="Download torrent for {{ item.version }}">Torrent</a></td> + <td><a href="{{ item.magnet_uri }}">Magnet</a></td> <td>{% if item.torrent_data %}{{ item.torrent.file_length|filesizeformat }}{% endif %}</td> </tr> {% endfor %} |