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

Create core template "2 columns, 2:1"

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: HTML and CSS
    • Labels:
    • Testing Instructions:
      Hide

      Testing Instructions:

      1. Log in as admin
      2. Navigate to the template library: Site administration > Development > Template library
      3. Select the "core/columns-2to1" template from the list of templates

      Expected results:

      1. The template renders in the example section.
      2. The rendered example should have two columns where the first column has twice the width of the second column.
      3. If the browser's width is reduced just like that of a mobile device's screen width, the second column should collapse underneath the first column.
      4. The documentation should be rendered underneath the example.
      5. The example context should be correctly rendered in the template.

      RTL-compatibility

      1. Change the site's language to an RTL one.
      2. Go to the templates library page and select the "core/columns-2to1" template from the list of templates.

      Expected result

      1. The first column should be seen on the right, while the second column should be on the left.

      Others

      1. Test the template on base theme and LTR/RTL languages. The example template should be also displayed and behave in a similar fashion as mentioned above.
      Show
      Testing Instructions: Log in as admin Navigate to the template library: Site administration > Development > Template library Select the "core/columns-2to1" template from the list of templates Expected results: The template renders in the example section. The rendered example should have two columns where the first column has twice the width of the second column. If the browser's width is reduced just like that of a mobile device's screen width, the second column should collapse underneath the first column. The documentation should be rendered underneath the example. The example context should be correctly rendered in the template. RTL-compatibility Change the site's language to an RTL one. Go to the templates library page and select the "core/columns-2to1" template from the list of templates. Expected result The first column should be seen on the right, while the second column should be on the left. Others Test the template on base theme and LTR/RTL languages. The example template should be also displayed and behave in a similar fashion as mentioned above.
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-50980-master
    • Sprint:
      Team ';drop tables Sprint 10
    • Issue size:
      Small

      Description

      The first column is twice the width of the second. On mobile, the second column collapses underneath.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15