Displaying 1 result from an estimated 1 matches for "fe34401".
Did you mean:
f334401
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
...bled?
+ raise ActionError.new("Host must be disabled to delete it")
+ end
+ @host.destroy
+ return "Host was successfully deleted."
+ end
private
def lookup(id, priv)
diff --git a/src/app/views/host/show.rhtml
b/src/app/views/host/show.rhtml
index ddc6481..fe34401 100644
--- a/src/app/views/host/show.rhtml
+++ b/src/app/views/host/show.rhtml
@@ -7,6 +7,9 @@
<a href="#" onClick="host_action('enable')">
<%= image_tag "icon_start_11px.png" %> Enable Host
</a>
+ <a href="#co...