Added views for QOR admin
This commit is contained in:
7
app/views/qor/metas/index/select_one.tmpl
Normal file
7
app/views/qor/metas/index/select_one.tmpl
Normal file
@@ -0,0 +1,7 @@
|
||||
{{$value := (raw_value_of .ResourceValue .Meta)}}
|
||||
{{$url := url_for $value}}
|
||||
{{if (and $url (defined_resource_show_page .Meta.Resource))}}
|
||||
{{if not (is_new_record $value)}}<a data-url="{{$url}}" href="{{$url}}">{{.Value}}</a>{{end}}
|
||||
{{else}}
|
||||
{{.Value}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user