diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-01 17:14:14 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-10-01 17:14:57 -0400 |
commit | 0c2a72230bdbaf7e0d8b527ebe49ae6505c9815d (patch) | |
tree | db94c449a319b71d2f52f938952924a8e20f359f /gitsrht/templates/refs.html | |
parent | 347c6134807f5849716f12d628aa914cca3267d3 (diff) |
Add annotated ref page
Diffstat (limited to 'gitsrht/templates/refs.html')
-rw-r--r-- | gitsrht/templates/refs.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html index 4a7c985..2d9c1dc 100644 --- a/gitsrht/templates/refs.html +++ b/gitsrht/templates/refs.html @@ -21,7 +21,10 @@ {% if isinstance(tag, pygit2.Commit) %} {{ref[len("refs/tags/"):]}} {% else %} - <a href="#"> + <a href="{{url_for("repo.ref", + owner=repo.owner.canonical_name, + repo=repo.name, + ref=tag.name)}}"> {{tag.name}} </a> {% endif %} |