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

Block "Section links": Toggle Section number

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.9, 4.2.9, 4.3.6, 4.4.2
    • Course
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-82555-main
    • Hide

      Covered by automated tests.

      1. As admin, in Site administration, remove "section_links" from your theme's "Unneeded blocks" setting.
      2. Create a new Course
      3. Create at least 1 section (Let the name as it is "New Section")
      4. Add the block "Section links" and select "Yes" for "Display section name" and select "No" for "Display section number" and save.
      5. Verify the link is "New Section" in the added Section links block.
      6. Edit the "Section links" blocks settings and select "Yes" for "Display section name" and select "Yes" for "Display section number" and save.
      7. Verify the link is "1: New Section" in the Section links block.
      8. Edit the "Section links" blocks settings and select "No" for "Display section name" and select "No" for "Display section number" and save.
      9. Verify there are only the numbers in the Section links block.
      Show
      Covered by automated tests. As admin, in Site administration, remove "section_links" from your theme's "Unneeded blocks" setting. Create a new Course Create at least 1 section (Let the name as it is "New Section") Add the block "Section links" and select "Yes" for "Display section name" and select "No" for "Display section number" and save. Verify the link is "New Section" in the added Section links block. Edit the "Section links" blocks settings and select "Yes" for "Display section name" and select "Yes" for "Display section number" and save. Verify the link is "1: New Section" in the Section links block. Edit the "Section links" blocks settings and select "No" for "Display section name" and select "No" for "Display section number" and save. Verify there are only the numbers in the Section links block.

      When using the block "Section Links" it should be possible to remove the section number and display only the section title.

      Currently the title can be toggled to show only numbers or both but in most cases we don't have numbers in the section titles so they are more confusing than helping in the section links block:

       

      To reproduce this do the following:

      1. As admin, in Site administration, remove "section_links" from your theme's "Unneeded blocks" setting.
      2. Create a new Course
      3. Create at least 1 section (Let the name as it is "New Section")
      4. Add the block "Section Links" and leave settings as is or tick "Yes" on "Display section name"
      5. The section Title is "New Section" while it says "1: New Section" in the added Section Link Block

      It is not possible to select / toggle "Display section number" as this setting doesn't exist yet

            lucaboesch Luca Bösch
            samuel.fischer Samuel Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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