diff options
author | Ivan Habunek <ivan@habunek.com> | 2018-11-18 13:25:05 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-11-18 08:54:09 -0500 |
commit | e1ec176f46314eea695b41c8cb422be146c6b46f (patch) | |
tree | 47f94a1bce2d27532ce8b7cf8fe6b1b442bb2a48 /gitsrht/templates/log.html | |
parent | 4502aa711cf239b018646aa46ee283619b04ab55 (diff) |
Add url helpers
Diffstat (limited to 'gitsrht/templates/log.html')
-rw-r--r-- | gitsrht/templates/log.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gitsrht/templates/log.html b/gitsrht/templates/log.html index 90740d3..0f1e3fc 100644 --- a/gitsrht/templates/log.html +++ b/gitsrht/templates/log.html @@ -8,10 +8,7 @@ <link rel="alternate" title="{{ repo.owner.canonical_name }}/{{ repo.name }}: {{ ref }} log" type="application/rss+xml" - href="{{ root }}{{ url_for('repo.log_rss', - owner=repo.owner.canonical_name, - repo=repo.name, - ref=ref if ref != "master" else None) }}"> + href="{{ root }}{{ repo|log_rss_url(ref=ref) }}"> {% endblock %} {% block content %} |