Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1532

Allow specifying scheduled time for Promo Blocks

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-B1
    • Component/s: Front End
    • Labels:
      None
    • Change Log Group:
      Added
    • Change Log Message:
      Added support for exact time entry, when promo block would shown/hidden automatically.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan:

      1. don't clear "time_format" and "input_time_format" field options for "ScheduleFromDate" and "ScheduleToDate" fields
      2. add "picker_default" field option with "midnight" value to the "ScheduleFromDate" field
      3. add "picker_default" field option with "midnight +1 day -1 second" value to the "ScheduleToDate" field
      4. use two "inp_edit_date_time" controls (one for each field) for specifying scheduled date
      5. create migration SQL, that would add "23:59:59" (in seconds equivalent) time to the "ScheduleToDate" field of existing promo blocks, that have this field populated

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: