Commit Graph

8 Commits

Author SHA1 Message Date
David Mudrak 6cf3a65082 MDL-30170 MNet peers administration - various usability improvements
While fixing MDL-30170, the following tiny usability details were
improved along the way:

* the maximum length of the peer site title and the hostname is now
  validated (this was actually a real bug as the default value is pre-loaded
  from the peer) so the admin gets a nice validation error instead of
  the database write exception when trying to register a host with a
  longer site title.
* hard-coded English string 'All Hosts' is now localized
* the hostname link in the list of MNet peers leads to the peer itself
2011-12-15 21:26:45 +01:00
David Mudrak 841b2a44ef MDL-30170 MNet peers administration - highlight the undelete widget
The patch highlights the undelete radio selector at the host edit form.
It moves it to the end of the form (near the submit button) and displays
an explanation above the radio selector.

Also, the list of deleted hosts is now displayed below the table of
active peers at the Manage peers page.

The data returned by mnet_get_hosts() function now contain the deleted
status, too. It is possible to obtain deleted hosts from that function
now.
2011-12-15 21:15:56 +01:00
David Mudrak eca44f56bd MDL-21695 Removing commented code 2010-07-19 17:28:48 +00:00
David Mudrak 7c70229eba MDL-21137 MNet: UI to choose peer theme replaced with simple selector
There is no need to have whole featured theme selector with previews
etc here. Following the same form element as they have in Mahara, the
theme can now be selected for a given peer at 'Review host details' tab.
I have also noticed that force_theme and theme columns are redundant at
the moment. Keeping them both for future improvements, though.
2010-07-12 15:03:42 +00:00
David Mudrak e7c1d0211e NOMDL MNet admin/mnet trivial code cleanups spotted during development 2010-07-12 15:03:03 +00:00
David Mudrak 3cd7e90aa0 MNet: Unable to change peer name due to incorrect form element type 2010-07-12 12:20:46 +00:00
Penny Leach fa276a0c00 mnet MDL-21256 fixed regressions I introduced while rewriting 2010-02-17 01:59:39 +00:00
Penny Leach 96bd292127 mnet MDL-21256 & the start of a proper fix for MDL-20660
Unfortunately these are tangled up together a bit
2010-02-11 02:49:11 +00:00