diff --git a/src/HydraFrontend/lib/HydraFrontend/Schema/Builds.pm b/src/HydraFrontend/lib/HydraFrontend/Schema/Builds.pm index 1e75e713..7c69bf2b 100644 --- a/src/HydraFrontend/lib/HydraFrontend/Schema/Builds.pm +++ b/src/HydraFrontend/lib/HydraFrontend/Schema/Builds.pm @@ -56,4 +56,6 @@ __PACKAGE__->has_many( # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-05 23:48:14 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bneV9O2uXIrg3Wuencuj+Q +__PACKAGE__->has_many(dependentBuildInputs => 'HydraFrontend::Schema::Buildinputs', 'inputid'); + 1; diff --git a/src/HydraFrontend/root/build.tt b/src/HydraFrontend/root/build.tt index be57da64..40718ab9 100644 --- a/src/HydraFrontend/root/build.tt +++ b/src/HydraFrontend/root/build.tt @@ -105,5 +105,29 @@ +[% IF build.dependentBuildInputs %] + +
The following builds have used this build as an input:
+ +Build | Input name | Timestamp |
---|---|---|
Job [% input.buildid.project %]:[% input.buildid.attrname %] build [% input.buildid.id %] | +[% input.name %] | +[% date.format(input.buildid.timestamp, '%Y-%m-%d %H:%M:%S') %] | +