forked from lix-project/hydra
Render links to changed input builds
Also, use get_column('dependency') instead of dependency.id to prevent an expensive row fetch.
This commit is contained in:
parent
56a62c3d88
commit
1007735364
|
@ -374,7 +374,7 @@ BLOCK renderShortEvalInput;
|
||||||
[% ELSIF input.type == "git" %]
|
[% ELSIF input.type == "git" %]
|
||||||
<tt>[% input.revision.substr(0, 7) %]</tt>
|
<tt>[% input.revision.substr(0, 7) %]</tt>
|
||||||
[% ELSIF input.type == "build" || input.type == "sysbuild" %]
|
[% ELSIF input.type == "build" || input.type == "sysbuild" %]
|
||||||
<tt>[% input.dependency.id %]</tt>
|
<a href="[% c.uri_for('/build' input.get_column('dependency')) %]">[% input.get_column('dependency') %]</a>
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<tt>[% input.revision %]</tt>
|
<tt>[% input.revision %]</tt>
|
||||||
[% END;
|
[% END;
|
||||||
|
|
Loading…
Reference in a new issue