diff --git a/src/root/clone-build.tt b/src/root/clone-build.tt index 4e058614..ba8151bc 100644 --- a/src/root/clone-build.tt +++ b/src/root/clone-build.tt @@ -34,7 +34,12 @@ input.value || input.uri || input.dependency.id) %] /> + [% IF input.type == "build" %] + [% build = input.dependency %] + [% HTML.attributes(value => build.project.name _ ':' _ build.jobset.name _ ':' _ build.job.name _ '[id="'_ build.id _ '"]' ) %] + [% ELSE %] + [% HTML.attributes(value => input.value || input.uri) %] + [% END %] /> [% END -%]