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

Create a new preview page for Database activity Presets

    XMLWordPrintable

Details

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75149-master
    • Hide

      Covered by automatic tests.

      Manual test on third party plugins

      1. Install https://moodle.org/plugins/datafield_jsignature
      2. Create a course with a database activity
      3. Access the activity and create a jssignature field
      4. Go to templates and reset single view and list view templates
      5. Click on save as preset button
      6. Set a name for the preset
      7. Click on the "preview preset" link in the preset create notificaiton (or go to preset tab and click on the preset name)
      8. Check the field preview show "No preview available for..."
      Show
      Covered by automatic tests. Manual test on third party plugins Install https://moodle.org/plugins/datafield_jsignature Create a course with a database activity Access the activity and create a jssignature field Go to templates and reset single view and list view templates Click on save as preset button Set a name for the preset Click on the "preview preset" link in the preset create notificaiton (or go to preset tab and click on the preset name) Check the field preview show "No preview available for..."
    • 5
    • HQ Sprint 0.3 Database

    Description

      As a teacher
      I want to preview the presets
      so I can choose the right one for my Database activity

      In the Presets management list page we would add a link on the preset name that will redirect the user to a preset preview page. The new Preview page will be based on the templates that will be created in further issues, so for now we could work using the existing 'Image gallery' core preset. 

      In this issue we should work on the following tasks:

      • Decide how we are going to store the fake data we would need to render on the preview.
      • Create the link on the presets management list page (on the name of the preset).
      • Create mustache templates for preview following prototype
        • Tertiary navigation elements are moved to the right. 
        • The user could choose between List view and Single view.
        • Preset name and description are shown
        • etc.

      Attachments

        Issue Links

          Activity

            People

              tusefomal Ferran Recio
              amaia Amaia Anabitarte
              Raquel Ortega Raquel Ortega
              Amaia Anabitarte Amaia Anabitarte
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              0 Vote for this issue
              Watchers:
              7 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 - 1 week, 6 hours, 21 minutes
                  1w 6h 21m

                  Clockify

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