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,4 +1,7 @@
[% WRAPPER layout.tt title="Log of " _ (step ? " step $step.stepnr of " : "") _ "build ${build.id} of job $build.project.name:$build.jobset.name:$build.job.name" %]
[% WRAPPER layout.tt
titleHTML="Log of " _ (step ? " step $step.stepnr of " : "") _ "build ${build.id} of job " _ linkToJob(build.jobset, job)
title="Log of " _ (step ? " step $step.stepnr of " : "") _ "build ${build.id} of job " _ makeNameTextForJob(build.jobset, job)
%]
[% PROCESS common.tt %]
<p>