aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-30 02:59:11 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-30 02:59:11 +0100
commit072f189006572d22bc731c37ee5ede772fc78590 (patch)
treef624e1138ddb52cc4691155b025cbe4691b18651 /app/templates
parent9967101d9ffef6960f7b0a6ee3a39ddeee80c4d7 (diff)
downloadcheatdb-072f189006572d22bc731c37ee5ede772fc78590.tar.xz
Add alternatives section to package page
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/packages/view.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html
index e4555f0..6ed5bbe 100644
--- a/app/templates/packages/view.html
+++ b/app/templates/packages/view.html
@@ -249,4 +249,13 @@
</ul>
{% endif %}
#}
+
+ {% if alternatives %}
+ <h3>Alternatives</h3>
+ <ul>
+ {% for p in alternatives %}
+ <li><a href="{{ p.getDetailsURL() }}">{{ p.title }} by {{ p.author.display_name }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
{% endblock %}