diff options
-rw-r--r-- | app.py | 1 | ||||
-rw-r--r-- | templates/browse-results.html | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -169,6 +169,7 @@ def index_results(LPUSER, PPA, PACKAGE, RELEASE, ARCH): title_suffix=f"{LPUSER} {PPA} {PACKAGE}", base_url="https://autopkgtest.ubuntu.com/", static_url="/static", + ppa=f"{LPUSER}/{PPA}", ) @app.route("/favicon.ico") diff --git a/templates/browse-results.html b/templates/browse-results.html index 7fc194a..f55501c 100644 --- a/templates/browse-results.html +++ b/templates/browse-results.html @@ -26,7 +26,7 @@ <a href="{{row[6]}}/artifacts.tar.gz">artifacts</a>   {% if row[7] %} {% set ts = row[1].split()|map('urlencode')|join("&trigger=")|safe %} - <a href="{{base_url}}request.cgi?release={{release}}&arch={{arch}}&package={{package|urlencode}}&trigger={{ts}}">♻</a> + <a href="{{base_url}}request.cgi?release={{release}}&arch={{arch}}&package={{package|urlencode}}&trigger={{ts}}&ppa={{ppa|urlencode}}">♻</a> {% endif %} </td> </tr> |