Titles of pages: make project:jobset:job names clickable

But don't make the final element clickable when we're looking at that
thing.
This commit is contained in:
Graham Christensen
2021-11-22 13:23:02 -05:00
parent f1343b3a4c
commit b06457c75c
8 changed files with 37 additions and 14 deletions

View File

@@ -1,6 +1,11 @@
[% WRAPPER layout.tt title=
[% WRAPPER layout.tt
title=
(build ? "Evaluations containing build $build.id" :
jobset ? "Evaluations of jobset $project.name:$jobset.name" :
jobset ? "Evaluations of jobset " _ makeNameTextForJobset(jobset) :
"Latest evaluations")
titleHTML =
(build ? "Evaluations containing build $build.id" :
jobset ? "Evaluations of jobset " _ linkToJobset(jobset) :
"Latest evaluations") %]
[% PROCESS common.tt %]