fix for clone build with build as input

This commit is contained in:
Rob Vermaas 2010-01-13 09:36:20 +00:00
parent 4a9234bc1d
commit 0b031c320a

View file

@ -34,7 +34,12 @@
</td>
<td>
<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>
</tr>
[% END -%]