Problem/Motivation
The toolbar link is hardcoded as "Moderation Dashboard". I would like to be able to modify that easily.
Proposed resolution
The menu link could get its title from the View page to which it links.
Remaining tasks
Review
User interface changes
Toolbar link title will match the title of the Moderation Dashboard view.
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | moderation-dashboard--link--3245165--2.patch | 1.08 KB | danflanagan8 |
Issue fork moderation_dashboard-3245165
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
danflanagan8Here's a patch!
Nice work on the 2.0.x branch, by the way. I really like the move to relying more on core features.
Comment #3
robcarrThe patch works - thank you.
While this is functional, should the admin toolbar take the menu text from the View's menu:tab value, rather than the View page title? That seems a little more logical.
Comment #6
smustgrave commentedI'm inclined to agree with @danflanagan8. Someone may want their title to be my-name dashboard but still keep the tab as Moderation Dashboard. Thanks for the patch!
Comment #8
smustgrave commented