diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-30 02:59:11 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-30 02:59:11 +0100 |
| commit | 072f189006572d22bc731c37ee5ede772fc78590 (patch) | |
| tree | f624e1138ddb52cc4691155b025cbe4691b18651 /app/templates | |
| parent | 9967101d9ffef6960f7b0a6ee3a39ddeee80c4d7 (diff) | |
| download | cheatdb-072f189006572d22bc731c37ee5ede772fc78590.tar.xz | |
Add alternatives section to package page
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/packages/view.html | 9 |
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 %} |
