X-Git-Url: http://git.hcoop.net/hcoop/portal.git/blobdiff_plain/6b8b767b19126e3dae16613dff8b15604763ac5d..44a63d224a81da3c5d2c9e50a46b6af956c47c5f:/apt.mlt diff --git a/apt.mlt b/apt.mlt index 1cbfde5..ab3e2e4 100644 --- a/apt.mlt +++ b/apt.mlt @@ -3,7 +3,7 @@ val admin = Group.inGroupName "server"; val nodeNum = case $"node" of - "" => 2 + "" => 4 | node => Web.stoi node; if $"new" <> "" then @@ -188,10 +188,8 @@ elseif $"mod" <> "" then val oldStatus = #status req; val newStatus = Apt.statusFromInt (Web.stoi ($"status")); Apt.modify {req with node = node, data = $"pkgs", msg = $"msg", status = newStatus}; - if oldStatus <> newStatus then - if not (Apt.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then - %>

Error sending e-mail notification

<% - end + if not (Apt.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then + %>

Error sending e-mail notification

<% end %>

Request modified

Back to: open requests, all requests @@ -215,7 +213,10 @@ elseif $"mod" <> "" then

Request new installations

-List the package names you'd like, separated by any whitespace characters. +List the package names you'd like, separated by any whitespace +characters. If you want the version of a package from backports, specify that +in the "Reason" field.