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
- Branch
- /in-portal/branches/5.3.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 338 Build 338: arc lint + arc unit
Event Timeline
core/units/promo_blocks/promo_block_eh.php | ||
---|---|---|
200–206 |
|
Comment Actions
This is the last fixing round.
core/install/english.lang | ||
---|---|---|
1605 | Since la_ToDateMustBeGreaterThanFromDate phrase wasn't even translated before this Differential Revision please do the following:
|