Moodle
  1. Moodle
  2. MDL-20757

In weeks course format 'show one week' button has a class (wkone) in topics course format it has no class or id

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.5, 1.9.6
    • Fix Version/s: 1.9
    • Component/s: Themes
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      The weeks course format assigns a class to the <img> tag for the square box allowing only one week to be shown. The class is 'wkone'. The same image in topics format has no class at all. It is sometimes required to be able to style this button - in particular, to remove it completely using css. This is only possible in weeks course format.

        Gliffy Diagrams

          Activity

          Hide
          Patrick Malley added a comment -

          I've added

          class="icon topicall"

          and

          class="icon topicone"

          to the topics course format for the all.gif and one.gif icons.

          Show
          Patrick Malley added a comment - I've added class="icon topicall" and class="icon topicone" to the topics course format for the all.gif and one.gif icons.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: