diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2024-01-09 13:45:55 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2024-01-09 13:47:42 +0100 |
commit | 0f49c2cac2f898e781877aee64ec2ec844d33010 (patch) | |
tree | 2e0b06e3bdd6d51d453659d1419fe4bd2a595592 | |
parent | 0552741179f8a985d5fe559a7efec64be2ef6f97 (diff) |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-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> |