Compare commits

..

No commits in common. "master" and "4-add-homepage" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ class BaseQuerySet(models.QuerySet):
"align": "",
"encrypted": True,
}
ret[f"{field.name}__custom_identifier"] = {
ret[f"{field.name}__name"] = {
"text": f"{field.verbose_name.capitalize()} - Identifier",
"align": "",
"encrypted": True,

View File

@ -96,7 +96,7 @@
:items="linked_properties"
:items_headers="linked_properties_headers"
:items_relations="{'property': all_properties}"
:hidden_fields="['name', 'description', 'custom_identifier', 'item__name', 'item__custom_identifier']"
:hidden_fields="['name', 'description', 'custom_identifier']"
:non_editable_fields="['item']"
show_item="property"
group_by="type"
@ -113,7 +113,7 @@
<ItemRelationList
:items="children"
:items_headers="children_headers"
:hidden_fields="['parent__name', 'parent__custom_identifier']"
:hidden_fields="['parent__name']"
:items_relations="{'parent': [object], 'child': all_items}"
group_by="type__name"
@deleteItem="deleteRelation"
@ -129,7 +129,7 @@
<ItemRelationList
:items="parents"
:items_headers="children_headers"
:hidden_fields="['child__name', 'child__custom_identifier']"
:hidden_fields="['child__name']"
:items_relations="{'child': [object], 'parent': all_items}"
group_by="type__name"
@deleteItem="deleteRelation"

View File

@ -28,7 +28,7 @@
:items="linked_properties"
:items_headers="linked_properties_headers"
:items_relations="{'item': all_items, 'property': [object]}"
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
:hidden_fields="['name', 'description', 'custom_identifier']"
:non_editable_fields="[]"
show_item="item"
show_url="ItemDetail"
@ -47,7 +47,7 @@
:items="relation_properties"
:items_headers="relation_properties_headers"
:items_relations="{'item': all_items, 'property': [object]}"
:hidden_fields="['name', 'description', 'custom_identifier', 'property__name', 'property__custom_identifier']"
:hidden_fields="['name', 'description', 'custom_identifier']"
:non_editable_fields="[]"
show_item="relation"
show_url="ItemRelationDetail"