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

Hidden ( Dimmed) Assignments are still visible on the assign index page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 2.5
    • None
    • Assignment
    • MOODLE_25_STABLE
    • Hide

      In Moodle 2.2, this was achieved by setting the class of the anchor tag using the visibility propery of the asignment (/mod/assignment/index.php) :

      //Show dimmed if the mod is hidden
      $class = $cm->visible ? '' : 'class="dimmed"';

      Please look at patch.txt for my proposed solution.

      Show
      In Moodle 2.2, this was achieved by setting the class of the anchor tag using the visibility propery of the asignment (/mod/assignment/index.php) : //Show dimmed if the mod is hidden $class = $cm->visible ? '' : 'class="dimmed"'; Please look at patch.txt for my proposed solution.
    • Hide

      1. Create an assignment
      2. Under Assignment settings, set visibility to Hide
      3. Make sure the assingment is hidden ( dimmed) on the course index page for Teachers and compleltely invisible for student
      4. Click on the Assignments link from the Activities Block from the course page
      5. Assignments are invisible for students as expected but are visible ( not dimmed) for teachers

      In Moodle 2.2, this was dimmed for teachers as we would have expected.

      Show
      1. Create an assignment 2. Under Assignment settings, set visibility to Hide 3. Make sure the assingment is hidden ( dimmed) on the course index page for Teachers and compleltely invisible for student 4. Click on the Assignments link from the Activities Block from the course page 5. Assignments are invisible for students as expected but are visible ( not dimmed) for teachers In Moodle 2.2, this was dimmed for teachers as we would have expected.

    Description

      A minor issue, but it seems to be missing from Moodle 2.5 when there is no reason for it to not be there as it was in Moodle 2.2

      When looking at the assignment index page that displays a list of all assignments , hidden assignments are not greyed out ( dimmed) as it should be.

      Welcome to suggestions on my solution.

      First time at creating a patch file, let me know if anything else is needed.

      Many thanks
      Hittesh

      Attachments

        1. patch.txt
          2 kB
          Hittesh Ahuja

        Activity

          People

            Unassigned Unassigned
            hitteshahuja Hittesh Ahuja
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: