Institution option for dropdown menus should take precedence over site option

Bug #1266934 reported by Jono M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
Mahara manual
Fix Released
Medium
Kristina Hoeppner

Bug Description

When the theme of an institution is "site default", the institution option to use dropdown menus has no effect - it's overridden by the site option. It would make more sense to me to have the institution option take priority.

Affects latest master

Robert Lyon (robertl-9)
Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 1.9.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/2887

Revision history for this message
Steven (stevens-q) wrote :

It is confirmed that the drop down menu option remains active when changing from any theme to a default theme

Catalyst QA Approved ✔

Revision history for this message
Aaron Wells (u-aaronw) wrote :

There is a problem. If we make it that the Institution's "drop down nav" checkbox always overrides the site's "drop down nav" checkbox, then there is no need to have the site-level checkbox. The site setting will have no effect except on users who are in "No institution", and possibly users who have selected a custom theme.

I think, it makes sense the way it currently is. That is to say, the "drop down nav" checkbox can seen as part of the institution's theme customization, so it only applies if they choose a custom theme.

We could make it less confusing by adding some JS so that the "drop down nav" checkbox is disabled or enabled, depending on whether or not the "site default" theme is selected.

Alternately, if we really want the institution setting to be able to override the setting even for the "site default" theme, then we need to change the checkbox to a menu so that an institution can indicate that they don't want to override the site setting. In other words, it would be a menu with the options "Site default (Yes/No)", "Yes", and "No".

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Aaron Wells (u-aaronw) wrote :

An update on this. The fix that was finally committed (under change 2887) was as follows:

- If an institution chooses the 'site default' theme, then the institution option to pick dropdown menu is disabled.
- If they choose another option then the dropdown menu option is enabled again.

So, like I described in the second-to-last paragraph of my last comment.

tags: added: usermanualupdate
Changed in mahara-manual:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Kristina Hoeppner (kris-hoeppner)
Changed in mahara-manual:
milestone: none → 1.9.0
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
Changed in mahara-manual:
status: Confirmed → Fix Released
milestone: 1.9.0 → 1.10.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.