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

Icon for word/excel resources don't show in navigation bar when viewing another resource.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.4, 2.2.1, 2.3
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Add several file resources for doc, excel, pdf etc
      3. Browse the course and make sure icons are shown in the navigation
      4. Browse to one of the resources and check icons are still being shown.
      Show
      Log in as an admin Add several file resources for doc, excel, pdf etc Browse the course and make sure icons are shown in the navigation Browse to one of the resources and check icons are still being shown.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull Master Branch:
      wip-MDL-31224-m23

      Description

      If you add two resources to a course, say a pdf, and a word file. On the course home page, you can toggle the navigation bar to show both the icons, though the word resource isn't a link. (first screen shot)
      If you view the pdf resource which opens a seperate window with a url like /mod/resource/view.php?id=..., the navigation bar only shows the icon for the pdf resource, and not the word one.
      It isn't only the currently viewed resource that gets an icon. Icons that do appear are pdf, mp4, html. Icons that don't appear are docx, xlsx, pptx, wmv.

      Attached are some resources to test with. Also some screenshots showing the issue

        Gliffy Diagrams

          Attachments

          1. course-homepage.png
            course-homepage.png
            8 kB
          2. fox.docx
            10 kB
          3. fox.pdf
            62 kB
          4. Fruits.xlsx
            11 kB
          5. in_other_resource.png
            in_other_resource.png
            6 kB

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Mar/12