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

Wiki search form improvement

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Deferred
    • Minor
    • None
    • 3.9.7
    • Wiki (2.x)
    • MOODLE_39_STABLE
    • Hide
      1. Navigate to Site administration / Appearance / Themes / Boost
      2. Select "Advanced settings" tab
      3. Type "$enable-rounded: true;" into "Raw initial SCSS" setting
      4. Save theme settings
      5. Enter wiki
      6. Ensure in the quick search form
        1. the text field suits the user interface
        2. the text field has a height corresponding to the height of the button
        3. the button and the text field are combined into a group and there is no space between them
        4. the top left and bottom left corners of the button do not have rounded corners
      Show
      Navigate to Site administration / Appearance / Themes / Boost Select "Advanced settings" tab Type "$enable-rounded: true;" into "Raw initial SCSS" setting Save theme settings Enter wiki Ensure in the quick search form the text field suits the user interface the text field has a height corresponding to the height of the button the button and the text field are combined into a group and there is no space between them the top left and bottom left corners of the button do not have rounded corners

    Description

      In Moodle 3.9 the style of wiki search form differs from the style of surrounding user interface elements. While other elements benefit from using bootstrap classes, wiki search form does not.

      We made some improvements to the code. The patch file attached.

      Improvements made:

      • According to suggestion to use mustache templates given here https://docs.moodle.org/dev/Templates we implemented mustache template for wiki search form.
      • Wiki search form has its renderable class now.
      • We used bootstrap classes in the template. Like in search form in forum module. The search form suits the user interface better.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              андрейусков Андрей Усков
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m