aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-04-30 18:54:45 +0200
committerChristopher Baines <mail@cbaines.net>2023-04-30 18:54:45 +0200
commiteb6aec6f07eec089c56ac345f513da4ed3c115a0 (patch)
tree84d7aea4c9119d15a005af0cb358829664ade85a /assets
parent6e73bc321c16eb141797c04ef941806481c8ae71 (diff)
downloadbffe-eb6aec6f07eec089c56ac345f513da4ed3c115a0.tar
bffe-eb6aec6f07eec089c56ac345f513da4ed3c115a0.tar.gz
Link to the build and agent pages from the activity page
Diffstat (limited to 'assets')
-rw-r--r--assets/js/activity.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/js/activity.js b/assets/js/activity.js
index 719ec47..1f98ae8 100644
--- a/assets/js/activity.js
+++ b/assets/js/activity.js
@@ -250,7 +250,9 @@ function agentBuildsAllocatedHandler(e) {
const drv = build.derivation_name.slice(44, -4);
buildElement.innerHTML = `
-<span class="monospace" style="display:block;">${drv}</span>
+<a href="/build/${build.uuid}" style="display:block;">
+ <span class="monospace">${drv}</span>
+</a>
`;
build.tags.sort(function(a, b) {