fix for clone build with build as input

[?]
Jan 13, 2010, 9:36 AM
CS2CB4EQ2XURPOEAZWVEX5QOEQB2SBBBJROGJJ4FOHEI5B3KMTXAC

Dependencies

  • [2] WRIU3S5E * UI for cloning builds (not functional yet).
  • [3] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate

Change contents

  • replacement in src/root/clone-build.tt at line 37
    [2.1922][2.1922:2024]()
    [% HTML.attributes(value => input.value || input.uri || input.dependency.id) %] /></tt>
    [2.1922]
    [2.2024]
    [% 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>