-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-28318: Implement FieldType view templates in AdminUI #262
Conversation
ezimage - in field there is no information about file type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've put some issues in comments.
aece320
to
8609d3b
Compare
</thead> | ||
{% for contentId in field.value.destinationContentIds %} | ||
<tr> | ||
{{ render(controller('ez_content:viewAction', {'contentId': contentId, 'viewType': 'embed', 'noLayout': 1, 'layout': 'preview_ezobjectrelationlist_row'})) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be layout: false
, rather than noLayout: 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does not matter as the twig used for rendering ezobjectrelationlist isn't extending pagelayout. But I will fix it nonetheless.
</tr> | ||
</thead> | ||
<tr> | ||
{{ render(controller('ez_content:viewAction', {'contentId': field.value.destinationContentId, 'viewType': 'embed', 'noLayout': 1, 'layout': 'preview_ezobjectrelationlist_row'})) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
layout: false
here too
Checklist:
$ composer fix-cs
)