User tests: Successful: Unsuccessful:
Pull Request for Issues #30433 & #30431
Added the possibility to display fieldsets description for children (and parent when there are children)
Structure of a xml with children fieldsets
<fieldset name="filtering" label="MOD_ARTICLES_CATEGORY_FIELD_GROUP_FILTERING_LABEL" description="Top most description">
<fieldset name="filtering_child1" label="Child 1" description="Child description 1">
[some fields]
</fieldset>
<fieldset name="filtering_child2" label="Child 2" description="Child description 2">
[the remaining fields]
</fieldset>
</fieldset>
For example, replace the file modules/mod_articles_category/mod_articles_category.xml
where I have made such a structure.
with this one (unzip first)
mod_articles_category.xml.zip
Test, then patch and run NPM as we have a small scss change.
@obuisard
Please test and add your test result on https://issues.joomla.org/tracker/joomla-cms/30450
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) NPM Change Layout |
I have tested this item
Perfect, thank you!
Labels |
Added:
NPM Resource Changed
?
|
I haven't changed the code itself in that old PR, I just moved it to a different place. So I wasn't thinking about why the trim is there.
There would be a small difference between the code, that is when the description holds only a whitespace. The first line wouldn't show it (because trim removes the space), the second line would show it.
Personally, I would go with !empty
, I think we can live with the difference in behavior.
@Quy @obuisard @richard67
Modifs done. Can be tested again.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Back to RTC
Appveyor failure is unrelated.
Labels |
Added:
?
|
Took off an extraneous new line at the end of _alerts.scss to force rebuild to solve appveyor failure to run.
No change for tests and RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-27 07:12:45 |
Closed_By | ⇒ | rdeutz |
I have tested this item✅ successfully on 151b0ac
Perfect, thank you!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30450.