Include the multilingual associations component / language filter plugin. Go to the menu, select, for example, the menu item HOME. On the associations tab:
If the item is not assigned a language, the legend does not contain parameters. In this case, it is better to hide the legend or display the notification inside the legend.
The type of notification does not match the Joomla styles 4. Or am I wrong? On the next tab (and in other places too), the notification style is different.
Notification in another tab:
Labels |
Added:
?
|
The tasks of notification and description are different, perhaps yes. But in Joomla 4, I have not seen the same style of notifications as in the associations tab. He clearly falls out of the general column.
If this notification is a warning, then we have the corresponding style - orange.
Certainly, I do not pretend to be true. Just thoughts.
Agreed, Your Point is Valid too
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
I think the reason they look different is that:
The second one is a fieldset description
joomla-cms/components/com_content/tmpl/featured/default.xml
Line 14 in 6a841a3
And the first one is an alert generated via JavaScript
joomla-cms/build/media_source/com_associations/js/associations-edit.es6.js
Lines 31 to 34 in 6a841a3
I'm not sure if they need to have the same style because they are performing different tasks, ie. One is serving as a description and the other is an alert.
I do agree that the fieldset needs to be hidden in case of no associations which can be done by adding the following line to the if-block above.
I'll be happy to submit a PR for this if someone can confirm whether only the fieldset needs to be hidden and/or the alert styles are also to be changed.