diff --git a/assets/templates/items/add_relation.tmpl b/assets/templates/items/add_relation.tmpl
index d18734c..08deb32 100644
--- a/assets/templates/items/add_relation.tmpl
+++ b/assets/templates/items/add_relation.tmpl
@@ -1,16 +1,16 @@
{{define "item:add_relation"}}
-{{ $relation_name := printf "%s%v" "ItemRelation-New-" .relatedItem.Id }}
-
- {{.relatedItem.Type_title}} :
+{{ $relationName := printf "%s%v" "ItemRelation-New-" .relatedItem.Id }}
+ |
+ {{.relatedItem.TypeTitle}} :
{{.relatedItem.Title}}
|
{{ if gt (len .relatedItem.Categories) 0 }}
{{ range (stringToArray .relatedItem.Categories "|")}}
- {{ $category_name := index $.categoriesMap .}}
+ {{ $categoryName := index $.categoriesMap .}}
- {{ $category_name }}
+ {{ $categoryName }}
{{ end }}
{{ end }}
@@ -25,9 +25,9 @@
{{ end }}
{{ end }}
|
- {{ widget_relation_type $relation_name "Link" `id="$relation_name"` }} |
+ {{ widget_relation_type $relationName "Link" `id="$relationName"` }} |
- Remove
+ Remove
|
{{ end }}
diff --git a/assets/templates/items/all_list_rows.tmpl b/assets/templates/items/all_list_rows.tmpl
index 98d7a81..cd629c8 100644
--- a/assets/templates/items/all_list_rows.tmpl
+++ b/assets/templates/items/all_list_rows.tmpl
@@ -14,15 +14,15 @@
>
{{.Title}}
- {{.Title}}
+ {{.Title}}
|
- {{.Type_title}} |
+ {{.TypeTitle}} |
{{ if gt (len .Categories) 0 }}
{{ range (stringToArray .Categories "|")}}
- {{ $category_id := index $.categoriesMap .}}
- {{ $category_id }}
+ {{ $categoryId := index $.categoriesMap .}}
+ {{ $categoryId }}
{{ end }}
{{ end }}
|
@@ -36,7 +36,7 @@
- {{ if eq .On_dashboard 1}}
+ {{ if eq .OnDashboard 1}}
{{ template "item:remove_from_dashboard" .Id }}
{{ else }}
{{ template "item:add_to_dashboard" .Id }}
diff --git a/assets/templates/items/fields.tmpl b/assets/templates/items/fields.tmpl
index aa6d954..ba253eb 100644
--- a/assets/templates/items/fields.tmpl
+++ b/assets/templates/items/fields.tmpl
@@ -2,28 +2,28 @@
{{ range (index .FieldsSection .uisection) }}
{{ $field := .}}
-{{ $values := (index $.FieldsValues .Type_field_id)}}
+{{ $values := (index $.FieldsValues .TypeFieldId)}}
-{{ if eq .Is_multiple 1}}
+{{ if eq .IsMultiple 1}}
|
{{ if gt (len .Categories) 0 }}
{{ range (stringToArray .Categories "|")}}
- {{ $category_name := index $.categoriesMap .}}
+ {{ $categoryName := index $.categoriesMap .}}
- {{ $category_name }}
+ {{ $categoryName }}
{{ end }}
{{ end }}
diff --git a/assets/templates/items/list_rows.tmpl b/assets/templates/items/list_rows.tmpl
index bcd2c4f..5b4a3f1 100644
--- a/assets/templates/items/list_rows.tmpl
+++ b/assets/templates/items/list_rows.tmpl
@@ -36,7 +36,7 @@
{{ $fieldsValuesMap := .FieldsValuesMap}}
{{ range $.Fields}}
|
- {{ $values_str := renderFieldValues (index $fieldsValuesMap .Type_field_id) .Widget }}
+ {{ $values_str := renderFieldValues (index $fieldsValuesMap .TypeFieldId) .Widget }}
{{ if gt (len $values_str) 0 }}
{{.Title}} : {{ $values_str }}
{{ end }}
@@ -44,7 +44,7 @@
{{end}}
|
- {{ if eq .On_dashboard 1}}
+ {{ if eq .OnDashboard 1}}
{{ template "item:remove_from_dashboard" .Id }}
{{ else }}
{{ template "item:add_to_dashboard" .Id }}
diff --git a/assets/templates/items/update_title.tmpl b/assets/templates/items/update_title.tmpl
index 2572baa..45f334d 100644
--- a/assets/templates/items/update_title.tmpl
+++ b/assets/templates/items/update_title.tmpl
@@ -1,5 +1,5 @@
{{define "page:title"}}
- Edit {{.item.Type_title}}
+ Edit {{.item.TypeTitle}}
diff --git a/assets/templates/items/view.tmpl b/assets/templates/items/view.tmpl
index 9d2cce8..205b9e2 100644
--- a/assets/templates/items/view.tmpl
+++ b/assets/templates/items/view.tmpl
@@ -1,18 +1,18 @@
{{define "page:content"}}
|