? Pending

User tests: Successful: Unsuccessful:

avatar mariantanase
mariantanase
17 Mar 2021

Add some space betweeb two buttons (CANCEL and INSTALL) when doing update.
See Issue [#32700]
Thanks @infograf768

Pull Request for Issue #32700 .

Summary of Changes

Testing Instructions

Actual result BEFORE applying this Pull Request

buttons-attached

Expected result AFTER applying this Pull Request

Screenshot_2021-03-17 Joomla Update - Joomla 4 Demo - Administration

Documentation Changes Required

avatar mariantanase mariantanase - open - 17 Mar 2021
avatar mariantanase mariantanase - change - 17 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2021
Category Administration com_joomlaupdate
avatar mariantanase mariantanase - change - 17 Mar 2021
The description was changed
avatar mariantanase mariantanase - edited - 17 Mar 2021
avatar infograf768
infograf768 - comment - 17 Mar 2021

Looks like you created the pr based on an older version of 4.0-dev . in fact a beta4.
This needs correcting.

avatar dgrammatiko
dgrammatiko - comment - 17 Mar 2021

This is totally wrong, you cannot nest a link inside a button element, check https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button permitted parents.

avatar infograf768
infograf768 - comment - 17 Mar 2021

@dgrammatiko
you are correct.

avatar infograf768
infograf768 - comment - 18 Mar 2021

@mariantanase
I'm afraid this PR is wrong (my proposal in #32700 was no good) and as it is also based on an obsolete 4.0-dev, I suggest you close it.
When done we will reopen #32700

avatar mariantanase mariantanase - change - 18 Mar 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-03-18 07:38:01
Closed_By mariantanase
Labels Added: ?
avatar mariantanase mariantanase - close - 18 Mar 2021
avatar infograf768
infograf768 - comment - 18 Mar 2021

@dgrammatiko
Would using an onclick be OK?

		<div class="control-group">
			<div class="controls">
				<button type="button" class="btn btn-danger" onclick="window.location.href='index.php?option=com_joomlaupdate';">
					<span class="icon-times icon-white" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?>
				</button>
				<button type="submit" class="btn btn-primary">
					<span class="icon-play icon-white" aria-hidden="true"></span> <?php echo Text::_('COM_INSTALLER_INSTALL_BUTTON'); ?>
				</button>
			</div>
		</div>

Screen Shot 2021-03-18 at 08 38 47

Add a Comment

Login with GitHub to post a comment