? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
20 May 2015

Batch modals are hardcoded. This is a proposal to make them more flexible/overridable. Right now it’s only for banners, but, if this gets some attention I will make it site wide.

So what’s in it?

Well batch modals have a tmpl/default_batch.php file that holds all the html code for the modal.
But since @smz and @phproberto made some nice changes in the bootstrap modal everything is more modular and everything is controlled from the respected layouts e.g. body, footer.
So this PR tries to break the hardcoded html code to 2 files tmpl/default_batch_body.php and tmpl/default_batch_footer.php
Now we have more control over the output (read this as getting ready for bs3)

avatar dgt41 dgt41 - open - 20 May 2015
8198572 20 May 2015 avatar dgt41 init
avatar dgt41 dgt41 - change - 20 May 2015
The description was changed
Title
RC
RFC Batch modals
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2015
Labels Added: ?
avatar dgt41 dgt41 - change - 21 May 2015
The description was changed
Title
RFC Batch modals
RFC Batch modals comply with the new layout
avatar bertmert
bertmert - comment - 21 May 2015

@test Success with current Firefox, IE11, current Chrome. and com_banners.
Batched several items succesfully. Could cancel, close etc.

avatar Kubik-Rubik
Kubik-Rubik - comment - 21 May 2015

@test Tested successfully with both administrator templates. Batch feature still works properly!


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

avatar Kubik-Rubik Kubik-Rubik - test_item - 21 May 2015 - Tested successfully
avatar MAT978
MAT978 - comment - 21 May 2015

@test

#7000 Tested successfully with both administrator templates.


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

avatar MAT978 MAT978 - test_item - 21 May 2015 - Tested successfully
avatar smz
smz - comment - 21 May 2015

@test OK (both admin templates)

@dgt41
I think it is not necessary to set the width and height parameters for the modal: if I remember correctly those are used only in case of an iframe modal, which is not the case here...

avatar Kubik-Rubik Kubik-Rubik - alter_testresult - 21 May 2015 - smz: Tested successfully
avatar Kubik-Rubik Kubik-Rubik - change - 21 May 2015
Status New Ready to Commit
avatar Kubik-Rubik
Kubik-Rubik - comment - 21 May 2015

@smz Sergio, if you test it, then please mark your result in the issue tracker as well (not only in a comment at GitHub).

@dgt41 Thank you for your contribution. I will merge it!


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

avatar smz
smz - comment - 21 May 2015

@Kubik-Rubik ... oops, forgot about it, sorry!

avatar zero-24 zero-24 - close - 21 May 2015
avatar Kubik-Rubik Kubik-Rubik - change - 21 May 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-05-21 14:33:22
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 21 May 2015
avatar Kubik-Rubik Kubik-Rubik - close - 21 May 2015
avatar Kubik-Rubik
Kubik-Rubik - comment - 21 May 2015

@smz Sergio, no problem at all, just a small reminder! :-)

avatar Kubik-Rubik Kubik-Rubik - change - 21 May 2015
Labels Added: ?
avatar smz
smz - comment - 21 May 2015

@Kubik-Rubik Victor, honestly I'd removed those width and height options before merging...

avatar smz
smz - comment - 21 May 2015

... but they do no harm: just ignored.

avatar Kubik-Rubik
Kubik-Rubik - comment - 21 May 2015

@smz Since I've merged it already, please do a small PR for it. In #7003 @dgt41 should remove them before merging. Thanks!

avatar smz
smz - comment - 21 May 2015

OK!

avatar smz
smz - comment - 21 May 2015

... or @dgt41 could incorporate that in #7003. I stand-by waiting for @dgt41...

avatar dgt41
dgt41 - comment - 21 May 2015

@smz @Kubik-Rubik will do it in #7003, thanks!

avatar zero-24 zero-24 - change - 23 May 2015
Category Administration
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment