Issue Feature New Orphaned

#105381Make translate button in sys_file_reference IRRE element more prominent

Sybille Peters 10/21/24, 15:34 updated 04/10/25, 19:43

Description

I think the main problem here are:

  • the button “Localize” (e.g. in sys_file_reference relation in “textmedia” field “assets) does not look active the way it is displayed currently
  • and it is not visible this is the relation from the original language. Usually if content from original language is displayed, it is displayed with the flag icon.

Reproduce

1. Create a textmedia element
2. Translate it (connected)
3. Now add image in tab “media” field “assets” in element with original language

Now, in the translated element go to tab media and see the greyed out relation from the original language.

The buttons “Display information” and “Localize” also look greyed out.

Suggestion

  • make the buttons look active and clickable
  • possibly make the button “localize” marked as primary button (e.g. with class=“btn btn-primary”)
  • show a flag symbol for the reference from the default language

Screenshot

sys_file_reference.png

Versions

  • v11 … v14 (main)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[FEATURE] Make translate button in sys_file_reference IRRE element more prominent Resolves: #105381 Releases: main