? Failure

User tests: Successful: Unsuccessful:

avatar bygiro
bygiro
1 Nov 2015

Better layout when no Label, like for "permissions" fieldset

avatar bygiro bygiro - open - 1 Nov 2015
avatar bygiro bygiro - change - 1 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2015
Labels Added: ?
avatar zero-24
zero-24 - comment - 1 Nov 2015

Hi @bygiro I'm not sure what you try to fix? Can you add a bit more description to your issue? Expecial a way to test this PR?

avatar bygiro
bygiro - comment - 1 Nov 2015

if there is no label in the xml field, the "control-group" input is still rendered with an empty div with class "control-label" and a div with class "controls" (container of the input). the visual layout will be ugly, because the div with class "controls" has "margin-left: 180px;".
in the "permissions" tab, this does not happens, because the label is not completely rendered and the input container doesn't have any "controls" class.
I added an option to do not render the label and to remove the "controls" class if there is no label attribute in the xml field of the form.
I hope I've been a bit more clear. I thought it was clear from the code.

avatar zero-24 zero-24 - change - 2 Nov 2015
Category Administration
avatar brianteeman brianteeman - change - 19 Feb 2016
Status Pending Information Required
avatar brianteeman
brianteeman - comment - 19 Feb 2016

From the limited description of what this does I have not been able to test that it does what you say. I also do not understand in what situation you will not have a label.

I am setting this to information required. Please update this with full testing instructions and an explanation of the use case. This will be closed within 4 weeks if not updated.


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

avatar infograf768
infograf768 - comment - 20 Feb 2016

If a field has no label, the name of the field is used.

avatar brianteeman brianteeman - change - 10 Mar 2016
Category Administration Administration Fields
avatar brianteeman brianteeman - change - 6 Apr 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-04-06 20:09:24
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Apr 2016
avatar brianteeman brianteeman - close - 6 Apr 2016
avatar brianteeman
brianteeman - comment - 6 Apr 2016

Closed as stated above


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

Add a Comment

Login with GitHub to post a comment