From 3e1f9309287a3479e9f3a5fc9748054f3125d221 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 7 Oct 2013 10:25:46 -0400 Subject: [PATCH] Enable setting emailresponsible in the edit jobset form Signed-off-by: Shea Levy --- src/lib/Hydra/Controller/Jobset.pm | 1 + src/root/edit-jobset.tt | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index b8a149d2..6a2090b2 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -206,6 +206,7 @@ sub updateJobset { , nixexprinput => $nixExprInput , enabled => $enabled ? 1 : 0 , enableemail => defined $c->stash->{params}->{enableemail} ? 1 : 0 + , emailresponsible => defined $c->stash->{params}->{emailresponsible} ? 1 : 0 , emailoverride => trim($c->stash->{params}->{emailoverride}) || "" , hidden => defined $c->stash->{params}->{visible} ? 0 : 1 , keepnr => int(trim($c->stash->{params}->{keepnr})) diff --git a/src/root/edit-jobset.tt b/src/root/edit-jobset.tt index c299f60f..bf7e94d3 100644 --- a/src/root/edit-jobset.tt +++ b/src/root/edit-jobset.tt @@ -115,6 +115,14 @@ +
+
+ +
+
+