moodle-an-hochschulen / moodle-theme_boost_union

Theme Boost Union is an enhanced child theme of Boost which is intended, on the one hand, to make Boost simply more configurable and, on the other hand, to provide helpful additional features for the daily Moodle operation of admins, teachers and students.
GNU General Public License v3.0
66 stars 58 forks source link

Activity Navigation: Wrong positioning of arrow in next section link #536

Closed v-r-n-a closed 7 months ago

v-r-n-a commented 10 months ago

If _theme_boostunion | activity navigation is enabled and you visit a section page in a course with the course format Topics: Show one section per page, the arrow in the link to the next section is in front of the section name (see screenshot).

The arrow should appear after the section name (as on activity pages with a link to the next activity). -> On the screenshot after Abschlussreflexion & Evaluation

BU_section-navigation-icon

Moodle Version 4.1.8 (Build: 20231222)

To Reproduce

  1. Enable activity navigation in administration
  2. Create a course with course format Topics: Show one section per page and add at least 4 sections (0, 1, 2, 3).
  3. Visit section page 2 (i.e. .../course/view.php?id=182&section=2)
  4. Look at the link to the next section: the arrow is in front tof the link name
  5. (Optional: Create at least 3 activities and visit the 2nd activity. Compare the next activities link (arrow behind name) with the next section link)

Edited 2023/01/08: With course format Weeks: Show one section per page, the behavior is the same.

abias commented 7 months ago

Hi @v-r-n-a , many thanks for reporting this issue.

I had a look to see what's going on here and can now say:

While Boost Union could overwrite these mustache templates and place the arrow on the opposite side, my gut feeling is that we should not do that in Boost Union.

@v-r-n-a , I would rather encourage you to report this glitch on tracker.moodle.org for Moodle core. If Moodle core fixes it, Boost Union will automatically adopt the change.

Furthermore, there are also the open issues #586 and #587 from you. There, additional presentation settings for the activity navigation and the settings navigation are proposed. If we introduce presentation settings there, we can piggypack the arrow glitch fix on these settings there.

The only thing I will implement now is an enhancement of the description of the theme_boost_union | activitynavigation setting now.