From 809eaf0b78159dfc892748b98324397e4c494059 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 22 Dec 2011 14:11:42 +0000 Subject: Added edit and delete links to editdevice and editdeviceparams --- provisioning-editdeviceparams-html.lsp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'provisioning-editdeviceparams-html.lsp') diff --git a/provisioning-editdeviceparams-html.lsp b/provisioning-editdeviceparams-html.lsp index 4d976ca..a773326 100644 --- a/provisioning-editdeviceparams-html.lsp +++ b/provisioning-editdeviceparams-html.lsp @@ -2,6 +2,22 @@ require("viewfunctions") %> + + + +<% if form and form.value and form.value.device_id and form.value.device_id.value ~= "" then %> + <% if viewlibrary.check_permission("editdevice") then %> + Edit Class of Service + <% end %> + <% if viewlibrary.check_permission("deletedevice") then %> + Delete this Device + <% end %> +<% end %> +

<%= html.html_escape(form.label) %>

<% form.value.device_id.readonly = "true" -- cgit v1.2.3