UX: link edit text to search in badges form (#28248)

During our refactoring of admin badges we decided to link to:

`adminSiteText.edit locale=locale`

Instead of:

`adminSiteText q=key`

After feedback from the community we are reverting this change.
This commit is contained in:
Joffrey JAFFEUX 2024-08-06 16:01:20 +02:00 committed by GitHub
parent 9e9d88f078
commit 584106b752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 10 deletions

View File

@ -29,9 +29,8 @@
{{this.model.name}}
</span>
<LinkTo
@route="adminSiteText.edit"
@models={{array (concat this.textCustomizationPrefix "name")}}
@query={{hash locale="en"}}
@route="adminSiteText"
@query={{hash q=(concat this.textCustomizationPrefix "name")}}
>
{{d-icon "pencil-alt"}}
</LinkTo>
@ -113,9 +112,8 @@
{{this.model.description}}
</span>
<LinkTo
@route="adminSiteText.edit"
@models={{array (concat this.textCustomizationPrefix "description")}}
@query={{hash locale="en"}}
@route="adminSiteText"
@query={{hash q=(concat this.textCustomizationPrefix "description")}}
>
{{d-icon "pencil-alt"}}
</LinkTo>
@ -141,11 +139,10 @@
</span>
<LinkTo
@route="adminSiteText.edit"
@models={{array
(concat this.textCustomizationPrefix "long_description")
@route="adminSiteText"
@query={{hash
q=(concat this.textCustomizationPrefix "long_description")
}}
@query={{hash locale="en"}}
>
{{d-icon "pencil-alt"}}
</LinkTo>