% local view, viewlibrary, page_info, session = ... require("viewfunctions") %> <% displaycommandresults({"deleteclassgroup", "editclassgroup"}, session) %> <% displaycommandresults({"createclassgroup"}, session, true) %>
Action | Name | Label | Sequence |
---|---|---|---|
<% if viewlibrary.check_permission("deleteclassgroup") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/deleteclassgroup?class_group_id="..v.class_group_id, label="Delete ", class="deletegroup"} %> <% end %> <% if viewlibrary.check_permission("editclassgroup") then %> <%= html.link{value=page_info.script..page_info.prefix..page_info.controller.."/editclassgroup?class_group_id="..v.class_group_id.."&redir="..page_info.orig_action, label="Edit "} %> <% end %> | <%= html.html_escape(v.name) %> | <%= html.html_escape(v.label) %> | <%= html.html_escape(v.seq) %> |
<%= html.html_escape(view.errtxt) %>
<% end %> <% if #view.value == 0 then %>No class groups found
<% end %> <% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createclassgroup") then viewlibrary.dispatch_component("createclassgroup") end %>