Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57834

Allow customisation of button labels for AMD Modals

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.2.1
    • JavaScript
    • MOODLE_32_STABLE

      The AMD Modal is awesome! Though perhaps we could make it more awesome by making the button labels customisable?

      Example use-case:
      I'd like to present a modal of type SAVE_CANCEL in a module in order to let the user perform a certain action. Let's call this action "Do this". But instead of the generic "Save" button label, "Do this" would be much more appropriate label for the button. It would be great if there's a way to change this "Save" label to "Do this" instead.

            Unassigned Unassigned
            jpataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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