Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
seda
Commits
16613e0a108e
Commit
5c93a99b
authored
Jun 09, 2016
by
Sylvain Thénault
Browse files
[ui] When rtype is not ending by _from, this is not an intermediary entity, use reledit.text view
parent
c5e9b32df772
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/__init__.py
View file @
16613e0a
...
...
@@ -57,7 +57,7 @@ def rtags_from_rtype_role_targets(etype, rtype_role_targets):
{
'rvid'
:
'seda.reledit.simplelink'
})
else
:
relation
=
(
'*'
,
rtype
,
etype
,
role
)
if
target
in
BASE_TYPES
:
if
target
in
BASE_TYPES
or
not
rtype
.
endswith
(
'_from'
)
:
vid
=
'seda.reledit.text'
else
:
vid
=
'seda.reledit.complexlink'
...
...
Write
Preview
Markdown
is supported
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