Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36558 Add element library to moodle
  3. MDL-45655

Convert confirm dialogues to use the confirm renderer

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.6.3
    • HTML and CSS
    • MOODLE_26_STABLE

      There's about 40 instances of dialogues that hand-code the equivalent of the "confirm" renderer, i.e. producing a div#notice.generalbox.box with at least one button (often simply "continue").

      Some of them vary the HTML slightly, which makes it hard to style them (e.g. putting the buttons outside of the div#notice , rather than inside it), and obviously any changes or improvments made to the renderer will not affect these bits of duplicated code.

      You can find most of them with this command:

      $ git grep -e box --and -e "'notice'"

            Unassigned Unassigned
            bawjaws David Scotson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.