diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-28 14:48:03 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-28 14:48:03 +0100 |
| commit | 8c3b1c8c9550c9fec9a82a9afa1c4670fcf42e07 (patch) | |
| tree | d6797742e580a555aca511ccc50dc757ab93bc38 /app/templates/packages/view.html | |
| parent | ecdb755dd3632a6c64c8d189b19255ba45e08cb7 (diff) | |
| download | cheatdb-8c3b1c8c9550c9fec9a82a9afa1c4670fcf42e07.tar.xz | |
Add commit hash to releases
Diffstat (limited to 'app/templates/packages/view.html')
| -rw-r--r-- | app/templates/packages/view.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index b118046..181ae99 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -188,7 +188,8 @@ <li> {% if not rel.approved %}<i>{% endif %} - <a href="{{ rel.url }}">{{ rel.title }}</a>, + <a href="{{ rel.url }}">{{ rel.title }}</a>{% if rel.commit_hash %} + [{{ rel.commit_hash | truncate(5, end='') }}]{% endif %}, created {{ rel.releaseDate | datetime }}. {% if rel.task_id %} <a href="{{ url_for('check_task', id=rel.task_id, r=package.getDetailsURL()) }}">Importing...</a> |
