Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

Site\View\Weblinks\HtmlView::addToolbar() gets the toolbar with $this->getDocument()->getToolbar('toolbar') and uses it for the status dropdown and the delete button, but adds New and Help with the static ToolbarHelper::addNew() / ToolbarHelper::help(). The core views use the toolbar object for all buttons ($toolbar->addNew(), $toolbar->help()), which this PR does as well. (ToolbarHelper::title() stays, as in core.)

Testing Instructions

Log in on the frontend as a user with create/edit rights and open the weblinks list view. Check the New and Help buttons.

Expected result

Both buttons are shown and work as before.

Actual result

Same; mixed static/instance toolbar API.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment