Skip to content
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

Merged
merged 1 commit into from
Dec 21, 2017

Conversation

webhdx
Copy link
Contributor

@webhdx webhdx commented Dec 21, 2017

Question Answer
Tickets https://jira.ez.no/browse/EZP-28318
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@barbaragr
Copy link

Richtext issues with image and embedded content:
screen shot 2017-12-21 at 15 58 24

@barbaragr
Copy link

Type is missing for ezimage (left - app, right - mockup)
screen shot 2017-12-21 at 16 02 30-side

@barbaragr
Copy link

Different download buttons for ezfile:
screen shot 2017-12-21 at 16 04 55-side

@dew326
Copy link
Member

dew326 commented Dec 21, 2017

ezimage - in field there is no information about file type
ezfile - the mockup is with old icons, the download icon has changed

@barbaragr
Copy link

Country: empty space for Country field:
screen shot 2017-12-21 at 16 14 32-side

Copy link

@barbaragr barbaragr left a 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.

@lserwatka
Copy link
Member

@webhdx @dew326 rebase is needed here

@webhdx webhdx force-pushed the fieldtypes-preview-admin branch from aece320 to 8609d3b Compare December 21, 2017 18:44
@lserwatka lserwatka merged commit 5b0087f into ezsystems:master Dec 21, 2017
</thead>
{% for contentId in field.value.destinationContentIds %}
<tr>
{{ render(controller('ez_content:viewAction', {'contentId': contentId, 'viewType': 'embed', 'noLayout': 1, 'layout': 'preview_ezobjectrelationlist_row'})) }}
Copy link
Contributor

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

Copy link
Contributor Author

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'})) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

layout: false here too

@dew326 dew326 deleted the fieldtypes-preview-admin branch September 21, 2020 13:48
mateuszdebinski pushed a commit that referenced this pull request Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants