Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Demo's current administration pages are not in line with other administration pages in Drupal. I suggest to do the following:
- Rename the title for admin/structure/demo from "Demonstration site" into "Snapshots".
- Make the first (default) local task "List", i.e. the current "Manage snapshots" form/page.
- Move the currently first "Status" task to the end and rename it to "Settings".
- Keep the "Reset" local task + confirmation form.
- Remove the confirmation form for the "Create" (snapshot) form. Instead, add an optional confirmation to overwrite an existing snapshot. (the original reason to make it one)
- Move the "Status" fieldset from Settings to the "List" (ex. Manage) form/page.
- Remove the form submission redirect from the Reset form. When resetting, it's likely that you want to reset all over again (keeping the browser tab open).
Effectively:
- List: Status + List of snapshots (default local task)
- Create: Like now, just shortened. Add confirmation form for overwriting existing snapshot.
- Reset: Just shortened, but also remove redirect.
- Settings: Module settings, system_settings_form().
Comment | File | Size | Author |
---|---|---|---|
#2 | demo-HEAD.admin_.1.patch | 23.17 KB | sun |
Comments
Comment #2
sunCommitted attached patch to HEAD. This could be backported to D6, but I'm not going to do that. Patches are welcome.