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

Non-monologo icons are being displayed as whitened out in the upcoming events block

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-77898-401
    • MDL-77898-master
    • Hide
      Plugins still using pix/icon
      1. Clone a third-party activity plugin that doesn't have SVG icons yet. (e.g. mod_threesixo)

        cd [to your moodle root folder]
        git clone https://github.com/junpataleta/moodle-mod_threesixo.git mod/threesixo
        cd mod/threesixo
        # Delete the monologo icons so it will fall back to using the old pix/icon (icon.png).
        rm mod/threesixo/pix/monologo.*
        

      2. Run the upgrade process to install the plugin.
      3. Go back to the course homepage and add a 360-degree feedback activity.
      4. Set a value for "Allow answers to".
      5. Save and display.
      6. Edit 360 feedback items.
      7. Pick a question from the question bank.
      8. Add a new question
      9. Enter any text and save the changes
      10. Select this question and save the changes.
      11. Go back to the 360 dashboard
      12. Press "Make available".
      13. Log in as a student enrolled in a course.
      14. Go to your dashboard.
      15. Turn editing on and add the Upcoming events block
      16. Confirm that the icon for the 360-degree feedback activity is the same as the icon in mod/threesixo/pix/icon.png
      Activity events with monologo icons
      1. Revert the deletion of the monologo icons in mod_threesixo

        cd mod/threesixo
        git reset --hard 
        

      2. Purge caches
      3. Reload the page with the upcoming events block.
      4. Confirm that the icon for the mod_threesixo event is now a whitened 360 icon.
      Show
      Plugins still using pix/icon Clone a third-party activity plugin that doesn't have SVG icons yet. (e.g. mod_threesixo) cd [to your moodle root folder] git clone https: //github .com /junpataleta/moodle-mod_threesixo .git mod /threesixo cd mod /threesixo # Delete the monologo icons so it will fall back to using the old pix/icon (icon.png). rm mod /threesixo/pix/monologo .* Run the upgrade process to install the plugin. Go back to the course homepage and add a 360-degree feedback activity. Set a value for " Allow answers to ". Save and display. Edit 360 feedback items. Pick a question from the question bank. Add a new question Enter any text and save the changes Select this question and save the changes. Go back to the 360 dashboard Press "Make available". Log in as a student enrolled in a course. Go to your dashboard. Turn editing on and add the Upcoming events block Confirm that the icon for the 360-degree feedback activity is the same as the icon in mod/threesixo/pix/icon.png Activity events with monologo icons Revert the deletion of the monologo icons in mod_threesixo cd mod/threesixo git reset --hard Purge caches Reload the page with the upcoming events block. Confirm that the icon for the mod_threesixo event is now a whitened 360 icon.

      To reproduce:

      1. Clone a third-party activity plugin that doesn't have SVG icons yet. (e.g. mod_threesixo)

        cd [to your moodle root folder]
        git clone https://github.com/junpataleta/moodle-mod_threesixo.git mod/threesixo
        cd mod/threesixo
        # Delete the monologo icons so it will fall back to using the old pix/icon (icon.png).
        rm mod/threesixo/pix/monologo.*
        

      2. Run the upgrade process to install the plugin.
      3. Go back to the course homepage and add a 360-degree feedback activity.
      4. Set a value for "Allow answers to".
      5. Save and display.
      6. Edit 360 feedback items.
      7. Pick a question from the question bank.
      8. Add a new question
      9. Enter any text and save the changes
      10. Select this question and save the changes.
      11. Go back to the 360 dashboard
      12. Press "Make available".
      13. Log in as a student enrolled in a course.
      14. Go to your dashboard.
      15. Turn editing on and add the Upcoming events block
      16. Expected: The icon for the 360-degree feedback activity is the same as the icon in mod/threesixo/pix/icon.png
      17. Actual: The icon is being whitened out.

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Jake Dallimore Jake Dallimore
            Paul Holden Paul Holden
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 28 minutes
                1h 28m

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