% local view, viewlibrary, page_info, session = ... require("viewfunctions") %> <% displaycommandresults({"deleteclass", "editclass"}, session) %> <% displaycommandresults({"createclass"}, session, true) %>
Action | Name | Label |
---|---|---|
<% if viewlibrary.check_permission("deleteclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteclass?class_id="..v.class_id, label="Delete "} %> <% end %> <% if viewlibrary.check_permission("editclass") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editclass?class_id="..v.class_id.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> | <%= html.html_escape(v.name) %> | <%= html.html_escape(v.label) %> |
<%= html.html_escape(view.errtxt) %>
<% end %> <% if #view.value == 0 then %>No classes found
<% end %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createclass") then viewlibrary.dispatch_component("createclass") end %>