Skia has proposed merging ~hyask/autopkgtest-cloud:skia/requester_lp_link into autopkgtest-cloud:master.
Requested reviews: Canonical's Ubuntu QA (canonical-ubuntu-qa) For more details, see: https://code.launchpad.net/~hyask/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/455559 https://warthogs.atlassian.net/browse/ADT-348 -- Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~hyask/autopkgtest-cloud:skia/requester_lp_link into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/templates/browse-results.html b/charms/focal/autopkgtest-web/webcontrol/templates/browse-results.html index 7fc194a..ecf47e2 100644 --- a/charms/focal/autopkgtest-web/webcontrol/templates/browse-results.html +++ b/charms/focal/autopkgtest-web/webcontrol/templates/browse-results.html @@ -19,7 +19,13 @@ <td>{{row[1]}}</td> <td>{{row[2]}}</td> <td>{{row[3]}}</td> - <td>{{row[4]}}</td> + <td> + {% if row[4] != "-" %} + <a href="https://launchpad.net/~{{row[4]}}">{{row[4]}}</a> + {% else %} + {{row[4]}} + {% endif %} + </td> <td class="{{row[5]}}">{{row[5]}}</td> <td class="nowrap"> <a href="{{row[6]}}/log.gz">log</a>   diff --git a/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html b/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html index 23df383..2d0966b 100644 --- a/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html +++ b/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html @@ -45,7 +45,11 @@ <tr><th>Release:</th><td>{{release}}</td></tr> <tr><th>Architecture:</th><td>{{arch}}</td></tr> {% for param, v in params.items() %} + {% if param == "requester" %} + <tr><th>{{param|capitalize}}:</th><td><a href="https://launchpad.net/~{{v}}">{{v}}</a></td></tr> + {% else %} <tr><th>{{param|capitalize}}:</th><td>{{v}}</td></tr> + {% endif %} {% endfor %} <tr><th>Running for:</th><td>{{duration//3600 }}h {{duration % 3600//60}}m {{duration % 60}}s</td></tr> </table>
-- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp