Compare commits
2 Commits
4-add-home
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c77db82af | |||
| ff885646cb |
@ -39,7 +39,7 @@ class BaseQuerySet(models.QuerySet):
|
|||||||
"align": "",
|
"align": "",
|
||||||
"encrypted": True,
|
"encrypted": True,
|
||||||
}
|
}
|
||||||
ret[f"{field.name}__name"] = {
|
ret[f"{field.name}__custom_identifier"] = {
|
||||||
"text": f"{field.verbose_name.capitalize()} - Identifier",
|
"text": f"{field.verbose_name.capitalize()} - Identifier",
|
||||||
"align": "",
|
"align": "",
|
||||||
"encrypted": True,
|
"encrypted": True,
|
||||||
|
|||||||
@ -96,7 +96,7 @@
|
|||||||
:items="linked_properties"
|
:items="linked_properties"
|
||||||
:items_headers="linked_properties_headers"
|
:items_headers="linked_properties_headers"
|
||||||
:items_relations="{'property': all_properties}"
|
:items_relations="{'property': all_properties}"
|
||||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
:hidden_fields="['name', 'description', 'custom_identifier', 'item__name', 'item__custom_identifier']"
|
||||||
:non_editable_fields="['item']"
|
:non_editable_fields="['item']"
|
||||||
show_item="property"
|
show_item="property"
|
||||||
group_by="type"
|
group_by="type"
|
||||||
@ -113,7 +113,7 @@
|
|||||||
<ItemRelationList
|
<ItemRelationList
|
||||||
:items="children"
|
:items="children"
|
||||||
:items_headers="children_headers"
|
:items_headers="children_headers"
|
||||||
:hidden_fields="['parent__name']"
|
:hidden_fields="['parent__name', 'parent__custom_identifier']"
|
||||||
:items_relations="{'parent': [object], 'child': all_items}"
|
:items_relations="{'parent': [object], 'child': all_items}"
|
||||||
group_by="type__name"
|
group_by="type__name"
|
||||||
@deleteItem="deleteRelation"
|
@deleteItem="deleteRelation"
|
||||||
@ -129,7 +129,7 @@
|
|||||||
<ItemRelationList
|
<ItemRelationList
|
||||||
:items="parents"
|
:items="parents"
|
||||||
:items_headers="children_headers"
|
:items_headers="children_headers"
|
||||||
:hidden_fields="['child__name']"
|
:hidden_fields="['child__name', 'child__custom_identifier']"
|
||||||
:items_relations="{'child': [object], 'parent': all_items}"
|
:items_relations="{'child': [object], 'parent': all_items}"
|
||||||
group_by="type__name"
|
group_by="type__name"
|
||||||
@deleteItem="deleteRelation"
|
@deleteItem="deleteRelation"
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
:items="linked_properties"
|
:items="linked_properties"
|
||||||
:items_headers="linked_properties_headers"
|
:items_headers="linked_properties_headers"
|
||||||
:items_relations="{'item': all_items, 'property': [object]}"
|
:items_relations="{'item': all_items, 'property': [object]}"
|
||||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
|
||||||
:non_editable_fields="[]"
|
:non_editable_fields="[]"
|
||||||
show_item="item"
|
show_item="item"
|
||||||
show_url="ItemDetail"
|
show_url="ItemDetail"
|
||||||
@ -47,7 +47,7 @@
|
|||||||
:items="relation_properties"
|
:items="relation_properties"
|
||||||
:items_headers="relation_properties_headers"
|
:items_headers="relation_properties_headers"
|
||||||
:items_relations="{'item': all_items, 'property': [object]}"
|
:items_relations="{'item': all_items, 'property': [object]}"
|
||||||
:hidden_fields="['name', 'description', 'custom_identifier']"
|
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
|
||||||
:non_editable_fields="[]"
|
:non_editable_fields="[]"
|
||||||
show_item="relation"
|
show_item="relation"
|
||||||
show_url="ItemRelationDetail"
|
show_url="ItemRelationDetail"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user