forked from lix-project/hydra
fix for clone build with build as input
This commit is contained in:
parent
4a9234bc1d
commit
0b031c320a
1 changed files with 6 additions and 1 deletions
|
@ -34,7 +34,12 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<tt><input type="text" class="string" name="input-[% input.name %]-value"
|
<tt><input type="text" class="string" name="input-[% input.name %]-value"
|
||||||
[% HTML.attributes(value => input.value || input.uri || input.dependency.id) %] /></tt>
|
[% 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 %] /></tt>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END -%]
|
[% END -%]
|
||||||
|
|
Loading…
Reference in a new issue