forked from lix-project/hydra
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:
parent
f1343b3a4c
commit
b06457c75c
|
@ -1,7 +1,14 @@
|
|||
[% WRAPPER layout.tt title="Latest builds" _
|
||||
(job ? " for job $project.name:$jobset.name:$job" :
|
||||
jobset ? " for jobset $project.name:$jobset.name" :
|
||||
project ? " for project $project.name" : "") %]
|
||||
[% WRAPPER layout.tt
|
||||
titleHTML="Latest builds" _
|
||||
(job ? " for job " _ linkToJob(jobset, job) :
|
||||
jobset ? " for jobset " _ linkToJobset(jobset) :
|
||||
project ? " for project " _ linkToProject(project) :
|
||||
"")
|
||||
title="Latest builds" _
|
||||
(job ? " for job " _ makeNameTextForJob(jobset, job) :
|
||||
jobset ? " for jobset " _ makeNameTextForJobset(jobset) :
|
||||
project ? " for project $project.name" :
|
||||
"") %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
<p>Showing builds [% (page - 1) * resultsPerPage + 1 %] - [% (page - 1) * resultsPerPage + builds.size %] out of [% total %] in order of descending finish time.</p>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[% WRAPPER layout.tt title="Build $id of job $project.name:$jobset.name:$job" %]
|
||||
[% WRAPPER layout.tt
|
||||
title="Build $id of job " _ makeNameTextForJob(jobset, job)
|
||||
titleHTML="Build $id of job " _ linkToJob(jobset, job)
|
||||
%]
|
||||
[% PROCESS common.tt %]
|
||||
[% PROCESS "product-list.tt" %]
|
||||
[% USE HTML %]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[% WRAPPER layout.tt title=
|
||||
(create ? "Creating jobset in project $project.name" :
|
||||
createFromEval ? "Creating jobset from evaluation $eval.id of $project.name:$jobset.name" :
|
||||
cloneJobset ? "Cloning jobset $project.name:$jobset.name" :
|
||||
"Editing jobset $project.name:$jobset.name") %]
|
||||
createFromEval ? "Creating jobset from evaluation $eval.id of " _ makeNameTextForJobset(jobset) :
|
||||
cloneJobset ? "Cloning jobset " _ makeNameTextForJobset(jobset) :
|
||||
"Editing jobset " _ makeNameTextForJobset(jobset)) %]
|
||||
[% PROCESS common.tt %]
|
||||
[% USE format %]
|
||||
|
||||
|
|
|
@ -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 %]
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[% WRAPPER layout.tt
|
||||
title="Job $project.name:$jobset.name:$job"
|
||||
title=makeNameTextForJob(jobset, job)
|
||||
titleHTML=makeNameLinksForJob(jobset, job)
|
||||
starUri=c.uri_for(c.controller('Job').action_for('star'), c.req.captures)
|
||||
%]
|
||||
[% PROCESS common.tt %]
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
[% WRAPPER layout.tt title="Evaluation $eval.id of jobset $project.name:$jobset.name " %]
|
||||
[% WRAPPER layout.tt
|
||||
title="Evaluation $eval.id of jobset " _ makeNameTextForJobset(jobset)
|
||||
titleHTML="Evaluation $eval.id of jobset " _ linkToJobset(jobset) %]
|
||||
[% PROCESS common.tt %]
|
||||
|
||||
<div class="dropdown">
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
[% WRAPPER layout.tt title="Jobset $project.name:$jobset.name" %]
|
||||
[% WRAPPER layout.tt
|
||||
titleHTML=makeNameLinksForJobset(jobset)
|
||||
title=makeNameTextForJobset(jobset) %]
|
||||
[% PROCESS common.tt %]
|
||||
[% USE format %]
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue