summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py1
-rw-r--r--templates/browse-results.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/app.py b/app.py
index a07760c..417beee 100644
--- a/app.py
+++ b/app.py
@@ -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> &emsp;
{% 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}}">&#9851;</a>
+ <a href="{{base_url}}request.cgi?release={{release}}&arch={{arch}}&package={{package|urlencode}}&trigger={{ts}}&ppa={{ppa|urlencode}}">&#9851;</a>
{% endif %}
</td>
</tr>