? ? Pending

User tests: Successful: Unsuccessful:

avatar ReLater
ReLater
1 Aug 2021

Fixes #35016

Summary of Changes

  • load bootstrap.alert if necessary.
  • change wrong attribute data-dismiss to data-bs-dismiss
  • use class data-dismissible to right align close button
  • remove × to avoid a double X in button

Testing Instructions

Actual result BEFORE applying this Pull Request

  • Alert didn't close when dismiss button clicked

Expected result AFTER applying this Pull Request

  • Alert does close when dismiss button clicked
  • Correctly styled alert

02-08-_2021_00-00-18

avatar ReLater ReLater - open - 1 Aug 2021
avatar ReLater ReLater - change - 1 Aug 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Aug 2021
Category Libraries
avatar ReLater ReLater - change - 1 Aug 2021
Labels Added: ?
avatar ChristineWk ChristineWk - test_item - 2 Aug 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 2 Aug 2021

I have tested this item successfully on 6e87158


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

avatar RickR2H RickR2H - test_item - 2 Aug 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 2 Aug 2021

I have tested this item successfully on 6e87158


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

avatar richard67 richard67 - change - 2 Aug 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 2 Aug 2021

RTC


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

avatar bembelimen
bembelimen - comment - 26 Aug 2021

I know it's a bit out of scope (and this field is really ugly), but probaly when you're at it, would it be possible to make the alert looking more as "our" alerts?
Like the close button:
grafik

or the beginning:
grafik

Probably it's a quick fix?

avatar ReLater
ReLater - comment - 26 Aug 2021

For me it's just a note/description/info that has a class "alert" because these CSS classes provide ready-to-use styling, contrasts(!) and so on, not really alerts. For me, they are OK as they are in this environment.
And I prefer well documented, simple Bootstrap styling that is Joomla 3 and Joomla 4 compatible in this case, instead of overloaded here-and-there-more-classes if I want to change the look of these fields.

avatar wilsonge wilsonge - change - 9 Sep 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-09-09 17:13:34
Closed_By wilsonge
Labels Added: ? ?
Removed: ?
avatar wilsonge wilsonge - close - 9 Sep 2021
avatar wilsonge wilsonge - merge - 9 Sep 2021
avatar wilsonge
wilsonge - comment - 9 Sep 2021

Thanks. @bembelimen it's out of scope for here. But moving to the custom element isn't a bad idea. Let's try and get a separate PR for that (maybe target 4.1)

Add a Comment

Login with GitHub to post a comment