Added views for QOR admin
This commit is contained in:
12
app/views/qor/actions/9.action.tmpl
Normal file
12
app/views/qor/actions/9.action.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{$context := .}}
|
||||
{{$result := .Result}}
|
||||
{{$allowed_actions := (allowed_actions $context.Resource.GetActions $context.Action $result)}}
|
||||
{{$resource := .Resource}}
|
||||
|
||||
{{if gt (len $allowed_actions) 0 }}
|
||||
<div class="qor-action-forms" data-toggle="qor.action.bulk">
|
||||
{{range $action := $allowed_actions}}
|
||||
{{render_with "shared/action_item" (to_map "Action" $action "Result" $result "Context" $context "Resource" $resource)}}
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user