Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
seda
Commits
06cbe60f1524
Commit
7886a547
authored
Aug 26, 2016
by
Sylvain Thénault
Browse files
Apply some existing uicfg configuration to both binary and physical data objects
parent
01add3208c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/dataobject.py
View file @
06cbe60f
...
...
@@ -92,15 +92,16 @@ class ContainedSearchForRelatedEntitiesView(skos.SearchForRelatedConceptsView):
return
baserql
,
{
'at'
:
container
}
# hide some relation from autoform because of limitation of _container_eid
afs
.
tag_object_of
((
'*'
,
'seda_compressed'
,
'SEDABinaryDataObject'
),
'main'
,
'hidden'
)
pvs
.
tag_object_of
((
'*'
,
'seda_compressed'
,
'SEDABinaryDataObject'
),
'attributes'
)
pvs
.
tag_object_of
((
'*'
,
'seda_data_object_reference_id'
,
'SEDABinaryDataObject'
),
pvs
.
tag_object_of
((
'*'
,
'seda_data_object_reference_id'
,
'*'
),
'relations'
)
pvdc
.
tag_object_of
((
'*'
,
'seda_data_object_reference_id'
,
'
SEDABinaryDataObject
'
),
pvdc
.
tag_object_of
((
'*'
,
'seda_data_object_reference_id'
,
'
*
'
),
{
'vid'
:
'autolimited'
,
'subvid'
:
'seda.object-ref.archive-unit'
,
'label'
:
_
(
'referenced by:'
)})
# hide some relation from autoform because of limitation of _container_eid
afs
.
tag_object_of
((
'*'
,
'seda_compressed'
,
'SEDABinaryDataObject'
),
'main'
,
'hidden'
)
pvs
.
tag_object_of
((
'*'
,
'seda_compressed'
,
'SEDABinaryDataObject'
),
'attributes'
)
rec
.
tag_object_of
((
'*'
,
'seda_compressed'
,
'SEDABinaryDataObject'
),
{
'rvid'
:
'seda.reledit.complexlink'
,
'novalue_label'
:
_
(
'<unauthorized>'
)})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment