Allowed specify scheduled time, comfigured specific time default values.
Details
Details
NOTE: Apply patch from D201 revision first.
- go to Website & Content → Promo Blocks → Default Group section
- click on "Add" button
- confirm that form opens and "Schedule ..." fields are empty
- click on "Schedule From" date picker icon
- confirm that picker opens and contains current date, but midnight time
- pick some date
- confirm that picker closes and chosen date placed in the input field
- click on date picker icon
- confirm that picker opens and contains previously picked date and time
- click on "Schedule To" date picker icon
- confirm that picker opens and contains current date, but "23:59" (or "11:59 PM" depending on regional settings) time
- pick some date
- confirm that picker closes and chosen date placed in the input field
- click on date picker icon
- confirm that picker opens and contains previously picked date and time
- input "from" date later than "to" date, press "Save" button
- confirm, that promo block is not saved and error is shown on "Schedule From" field
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
core/units/promo_blocks/promo_block_eh.php | ||
---|---|---|
200–206 ↗ | (On Diff #490) |
|
Comment Actions
This is the last fixing round.
core/install/english.lang | ||
---|---|---|
1605 ↗ | (On Diff #492) | Since la_ToDateMustBeGreaterThanFromDate phrase wasn't even translated before this Differential Revision please do the following:
|