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:
Eelco Dolstra 2013-02-26 18:55:59 +01:00
parent 56a62c3d88
commit 1007735364

View file

@ -374,7 +374,7 @@ BLOCK renderShortEvalInput;
[% ELSIF input.type == "git" %]
<tt>[% input.revision.substr(0, 7) %]</tt>
[% 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 %]
<tt>[% input.revision %]</tt>
[% END;