? ? Pending

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
25 Sep 2020

Pull Request for Issue #29504 .

Summary of Changes

This pr will put elements in horizontal line

Testing Instructions

Joomla 4 with "Testing Sample Data"
url => index.php/recipes

Actual result BEFORE applying this Pull Request

See screenshot in #29504

Expected result AFTER applying this Pull Request

Schermafbeelding 2020-09-25 om 08 53 05

Documentation Changes Required

avatar hans2103 hans2103 - open - 25 Sep 2020
avatar hans2103 hans2103 - change - 25 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Sep 2020
Category Front End com_content
avatar hans2103
hans2103 - comment - 25 Sep 2020

spacing between items is out of scope for this pr

avatar infograf768
infograf768 - comment - 25 Sep 2020

Is it useful to display the Filter Button if filter-field is set to hide?
I suggest to modify that part to

			<?php if ($this->params->get('filter_field') !== 'hide') : ?>
				<div class="com-content-category__filter-submit control-group hidden-xs-up float-right">
					<div class="controls">
						<button type="submit" name="filter_submit" class="btn btn-primary"><?php echo Text::_('COM_CONTENT_FORM_FILTER_SUBMIT'); ?></button>
					</div>
				</div>
			<?php endif; ?>
avatar infograf768
infograf768 - comment - 25 Sep 2020

Also, for a11y, the table is missing something like

<caption id="captionTable" class="sr-only">
					<?php echo Text::_('COM_CONTENT_ARTICLES_TABLE_CAPTION'); ?>,
				</caption>
avatar Formatio-hippocampi Formatio-hippocampi - test_item - 25 Sep 2020 - Tested successfully
avatar Formatio-hippocampi
Formatio-hippocampi - comment - 25 Sep 2020

I have tested this item successfully on f7fc1bd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30761.

avatar infograf768
infograf768 - comment - 25 Sep 2020

@Formatio-hippocampi
Please wait for @hans2103 to take care of my comments. :)

avatar hans2103
hans2103 - comment - 25 Sep 2020

@infograf768
I don't know if it is useful to display the Filter Button if filter-field is set to hide?
I haven't looked into the functionality of the rendered fields nor buttons. This is not the scope of this PR.

Table Caption out of scope of this PR too... created new pr for it. #30763

avatar infograf768
infograf768 - comment - 25 Sep 2020

I should have been more precise:
The Filter button IS useless when filter-field is set to hide...

avatar hans2103 hans2103 - change - 25 Sep 2020
Labels Added: ?
avatar hans2103
hans2103 - comment - 25 Sep 2020

@infograf768 adjusted PR.
Actually you are saying that a PR was needed anyway to solve the display of the button? Not only to fix alignment

avatar hans2103 hans2103 - change - 25 Sep 2020
Title
wrap all buttons in btn-group to improve styling
[4.0] Wrap all buttons in btn-group to improve styling
avatar hans2103 hans2103 - edited - 25 Sep 2020
avatar Quy
Quy - comment - 25 Sep 2020

In a separate PR, filters section shouldn't be hidden when no items.

avatar infograf768 infograf768 - test_item - 25 Sep 2020 - Tested successfully
avatar infograf768
infograf768 - comment - 25 Sep 2020

I have tested this item successfully on f74fdb1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30761.

avatar Quy Quy - test_item - 25 Sep 2020 - Tested successfully
avatar Quy
Quy - comment - 25 Sep 2020

I have tested this item successfully on f74fdb1


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30761.

avatar Quy Quy - change - 25 Sep 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 25 Sep 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30761.

avatar infograf768 infograf768 - change - 26 Sep 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-09-26 05:42:15
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 26 Sep 2020
avatar infograf768 infograf768 - merge - 26 Sep 2020
avatar infograf768
infograf768 - comment - 26 Sep 2020

Tks.

Add a Comment

Login with GitHub to post a comment