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

Page resource option to show/hide "Last modified"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1, 3.6
    • Fix Version/s: 3.6
    • Component/s: Resource
    • Testing Instructions:
      Hide

      Test in Boost and Clean.

      1. Log in as Admin.
      2. Go to Site administration and upgrade the Page activity plugin.
      3. Create a Course.
      4. Create a Page resource in the Course.
        • make sure in the 'Appearance' section there is pre-enabled 'Display last modified date' option.
        •  Save and display the the Page resource.
      5. In the Page resource:
        • make sure the last modified date is displayed.
      6. Edit the Page resource.
        • disable the 'Display last modified date' option.
        • Save and display the Page resource.
      7. In the Page resource:
        • make sure the last modified date is NOT displayed.
      Show
      Test in Boost and Clean. Log in as Admin. Go to Site administration and upgrade the Page activity plugin. Create a Course. Create a Page resource in the Course. make sure in the 'Appearance' section there is pre-enabled 'Display last modified date' option.  Save and display the the Page resource. In the Page resource: make sure the last modified date is displayed. Edit the Page resource. disable the 'Display last modified date' option. Save and display the Page resource. In the Page resource: make sure the last modified date is NOT displayed.
    • Workaround:
      Hide

      Change the .modified class style in your theme's modules.css file. Set the display style attribute to none.

      .path-mod-page .modified {display:none;}
      

      Show
      Change the .modified class style in your theme's modules.css file. Set the display style attribute to none. .path-mod-page .modified {display:none;}
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
      MDL-41265-master

      Description

      When creating a Page, the user should be given an option to show or hide the "Last modified" text.

      The option "Display modified date" should be in the Appearance section, with "Display page name" and "Display page description"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                10 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 18 minutes
                  18m