"Relate block" and "Create block" button text switched?

Created on 24 September 2024, 9 months ago

Problem/Motivation

Just installed this module, and noticed that on the list of group blocks, the "Relate block" button goes to the form for creating a new block and the "Create block" button goes to the form for relating an existing block to the group. Seems like the button labels should be switched, right?

Steps to reproduce

Enable module, navigate to a group block list page, inspect buttons at top of View.

Proposed resolution

Switch the "titles" in groupblock.links.action.yml

📌 Task
Status

Active

Version

3.0

Component

User interface

Created by

🇺🇸United States Amerie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Amerie
  • 🇮🇳India jparmar

    Added patch to switch labels of button

  • Status changed to Needs work 17 days ago
  • 🇫🇮Finland simohell

    On it's own the patch works, but in the big picture it seems that actually the titles are correct and links are switched, so this is not the correct fix.

    Why I say the text is correct is, that both Group Node and Group Media first show "relate" (add) first and "create" (create) second. And I very much think we should keep the same order to be consistent. Switching the route names instead ot the titles should work fine.

Production build 0.71.5 2024