Improve User Menu

Issue #635 resolved
Jeremy Hopkins created an issue

The current user menu is a bit of a mess with lots of conditional code and html in header.php

This should be moved out to a renderer to make it easier to maintain.

It also requires improvement of the "loginas" feature whcih currently will ony return users to the course front page, so if you switch role from a forum or other activity you have to re-navigate from the course front page back into the activity.

Another issues is that there is no visible indication that you are acting with a different role. We could address this by hooking into the same code used to warn if you are "logged in as".

Comments (3)

  1. Jeremy Hopkins reporter

    Fix #635 - Improve User Menu

    This commit adds warning if user is acting as another role

    Two prior commits were also related to #635

    615b339 allows user to return to same page after switching page

    0d426a1 re-factored code moving it from header.php into renderer

    → <<cset 536672dfb46e>>

  2. Log in to comment