This is an automated email from the git hooks/post-receive script.
frostyx pushed a commit to branch master
in repository copr/copr.
The following commit(s) were added to refs/heads/master by this push:
new 96599f6 fronted: fixes broken build url
96599f6 is described below
commit 96599f67580d204a5fded01523eaf159de8e8d45
Author: Tomas Hrnciar <thrnciar(a)redhat.com>
AuthorDate: Wed Oct 23 13:29:51 2019 +0200
fronted: fixes broken build url
Fixes: #1064
Merges: #1082
---
frontend/coprs_frontend/coprs/templates/coprs/detail/build.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/coprs_frontend/coprs/templates/coprs/detail/build.html b/frontend/coprs_frontend/coprs/templates/coprs/detail/build.html
index a55b313..b799bff 100644
--- a/frontend/coprs_frontend/coprs/templates/coprs/detail/build.html
+++ b/frontend/coprs_frontend/coprs/templates/coprs/detail/build.html
@@ -20,7 +20,7 @@
{% if build.copr != copr %}
<h2 class="build-detail"> Build {{ build.id }} doesn't belong to this project. </h2>
-<p> You can go to <a href="{{url_for("coprs_ns.copr_build", username = build.copr.user.name, coprname = build.copr.name, build_id = build.id)}}">{{ copr_name(build.copr) }}/build/{{build.id}} </a>to see this build. </p>
+<p> You can go to <a href="{{ copr_url('coprs_ns.copr_build', build.copr, build_id=build.id) }}"> {{ copr_name(build.copr) }}/build/{{build.id}} </a>to see this build. </p>
{% else %}
{% if g.user and g.user.can_build_in(copr) and build.finished and not build.persistent %}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.