? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
26 Nov 2017

Summary of Changes

This PR replaces all Bootstrap alerts (apart from the installation views) with custom elements (<joomla-alert>)

It also addresses the issue: #18849

avatar C-Lodder C-Lodder - open - 26 Nov 2017
avatar C-Lodder C-Lodder - change - 26 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Nov 2017
Category Administration com_associations com_banners com_categories com_config com_contact com_content com_fields com_finder com_installer com_joomlaupdate
9601280 26 Nov 2017 avatar C-Lodder fix
avatar C-Lodder C-Lodder - change - 26 Nov 2017
Labels Added: ?
avatar C-Lodder
C-Lodder - comment - 26 Nov 2017

@Quy all done

avatar Quy
Quy - comment - 26 Nov 2017

There are a few of the following. Should they be updated too?
<p class="alert alert-info">

avatar C-Lodder
C-Lodder - comment - 26 Nov 2017

ah yes, didn't realise some were initiated with a <p> tag. Will do that in a bit

avatar Quy
Quy - comment - 26 Nov 2017

More: https://github.com/C-Lodder/joomla-cms/blob/564592a05552c9954d3589df7f828339a4ac9cd2/administrator/components/com_config/tmpl/component/default.php#L67

Also in Atum template files. Here is one.
https://github.com/C-Lodder/joomla-cms/blob/564592a05552c9954d3589df7f828339a4ac9cd2/administrator/templates/atum/error.php#L70

In .xml file, when alert is specified in the class attribute:

		<field
			name="warning" 
			type="note"
			label="COM_TEMPLATES_CONFIG_SUPPORTED_LABEL"
			default="zip"
			extension="com_templates"
			class="alert alert-info"
		/>

here is the output not using CE alert:

<div  class="alert alert-info"><h4>Supported File Formats</h4>										</div>
82916aa 26 Nov 2017 avatar C-Lodder fix
avatar C-Lodder
C-Lodder - comment - 26 Nov 2017

@Quy - The alerts inside <noscript> tags (in the templates) need to stay as they are because they're rendered using Javascript

avatar Quy Quy - test_item - 26 Nov 2017 - Tested successfully
avatar Quy
Quy - comment - 26 Nov 2017

I have tested this item successfully on 82916aa


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

avatar wilsonge
wilsonge - comment - 26 Nov 2017

This conflicts with the PR I merged earlier - if you get conflicts sorted will get this merged :)

avatar C-Lodder
C-Lodder - comment - 26 Nov 2017

Le fixed

avatar wilsonge wilsonge - change - 6 Dec 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-12-06 09:22:56
Closed_By wilsonge
avatar wilsonge wilsonge - close - 6 Dec 2017
avatar wilsonge wilsonge - merge - 6 Dec 2017
avatar wilsonge
wilsonge - comment - 6 Dec 2017

Thankyou :)

Add a Comment

Login with GitHub to post a comment