Skip to content

[EZP-32397] Added 'isEditView' variable to DateFieldType View#344

Merged
lserwatka merged 5 commits into
ezsystems:2.5from
mateuszbieniek:EZP-32397_fix
Apr 14, 2021
Merged

[EZP-32397] Added 'isEditView' variable to DateFieldType View#344
lserwatka merged 5 commits into
ezsystems:2.5from
mateuszbieniek:EZP-32397_fix

Conversation

@mateuszbieniek

@mateuszbieniek mateuszbieniek commented Apr 6, 2021

Copy link
Copy Markdown
Contributor

JIRA issue: https://issues.ibexa.co/browse/EZP-32397
The second part of fix: ezsystems/ezplatform-admin-ui#1729

This PR moves some logic from the template https://github.com/ezsystems/ezplatform-admin-ui/blob/v1.5.17/src/bundle/Resources/views/fieldtypes/edit/ezdate.html.twig#L10 to the lib/Form/Type/FieldType/DateFieldType.php and adds an additional check for the Content Translate view.

@mateuszbieniek mateuszbieniek changed the title [EZP-32397] Added 'data-action-type' attr to DateFieldType [EZP-32397] Added 'data-action-type', 'class' and 'hidden' attr to DateFieldType Apr 6, 2021
@mateuszbieniek mateuszbieniek changed the title [EZP-32397] Added 'data-action-type', 'class' and 'hidden' attr to DateFieldType [EZP-32397] Added 'data-action-type', 'class' and 'hidden' attributes to DateFieldType Apr 6, 2021
@mateuszbieniek
mateuszbieniek requested a review from Steveb-p April 6, 2021 09:36
Comment thread lib/Form/Type/FieldType/DateFieldType.php Outdated
@mateuszbieniek mateuszbieniek changed the title [EZP-32397] Added 'data-action-type', 'class' and 'hidden' attributes to DateFieldType [EZP-32397] Added 'isEditView' variable to DateFieldType View Apr 7, 2021
@pbisaga pbisaga self-assigned this Apr 14, 2021
@pbisaga

pbisaga commented Apr 14, 2021

Copy link
Copy Markdown

QA approved.
Checked on Ez Platform EE 2.5 & Ez Platform Commerce 2.5 with diff.

@pbisaga pbisaga removed their assignment Apr 14, 2021
@lserwatka
lserwatka merged commit 15e6519 into ezsystems:2.5 Apr 14, 2021
@lserwatka

Copy link
Copy Markdown
Member

Could you merge it up?

@mateuszbieniek

Copy link
Copy Markdown
Contributor Author

Merged up to master: 3b44fdc

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.

7 participants