Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[codestyle] admin non-components xml files #15922

Merged
merged 23 commits into from
Jun 4, 2017

Conversation

brianteeman
Copy link
Contributor

@brianteeman brianteeman commented May 9, 2017

Review all the xml files in the administrator/components folder and make sure they are formatted according to the coding standards

(I had a long train journey)

@@ -20,70 +20,77 @@
<help key="JHELP_EXTENSIONS_MODULE_MANAGER_ADMIN_STATUS" />
<config>
<fields name="params">
<fieldset name="basic">
<fieldset name="basic">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this whole fieldset block needs one more tab

description="MOD_CUSTOM_FIELD_PREPARE_CONTENT_DESC"
default="1">
type="radio"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type before lebal

<option
value="1">JYES</option>
<option
value="0">JNO</option>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options deleted

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wojsmol they are ok now

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brianteeman corected this in 8b2075d.

label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" />
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
rows="3"
Copy link
Contributor

@wojsmol wojsmol May 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnidet space

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree

description="COM_MODULES_FIELD_CACHE_TIME_DESC" />
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
default="900"
/>
<field
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty line

<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field
Copy link
Contributor

@wojsmol wojsmol May 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all fields in this fieldset - add empy line

label="TPL_ISIS_COLOR_SIDEBAR_LABEL"
description="TPL_ISIS_COLOR_SIDEBAR_DESC"
class=""
type="color"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type before lebal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

name="loginBackgroundColor"
label="TPL_ISIS_COLOR_LOGIN_BACKGROUND_LABEL"
description="TPL_ISIS_COLOR_LOGIN_BACKGROUND_DESC"
type="color"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type before lebal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

name="loginLogoFile"
label="TPL_ISIS_LOGIN_LOGO_LABEL"
description="TPL_ISIS_LOGIN_LOGO_DESC"
type="media"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type before lebal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

description="TPL_ISIS_HEADER_DESC"
class="btn-group btn-group-yesno"
default="1"
filter="integer">
Copy link
Contributor

@wojsmol wojsmol May 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

> in new line

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, as the others

@wojsmol
Copy link
Contributor

wojsmol commented May 10, 2017

Copy link
Contributor

@andrepereiradasilva andrepereiradasilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor changes and also agree with @wojsmol comments.
if corrected is fine

<option
value="1">JYES</option>
<option
value="0">JNO</option>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wojsmol they are ok now

description="MOD_LATEST_FIELD_ORDERING_DESC">
description="MOD_LATEST_FIELD_ORDERING_DESC"
default="c_dsc"
>
<option
value="c_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_ADDED</option>
<option
value="m_dsc">MOD_LATEST_FIELD_VALUE_ORDERING_MODIFIED</option>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proposed improvement: option in a single line

description="MOD_LATEST_FIELD_AUTHORS_DESC">
description="MOD_LATEST_FIELD_AUTHORS_DESC"
default="0"
>
<option
value="0">MOD_LATEST_FIELD_VALUE_AUTHORS_ANYONE</option>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proposed improvement: option in a single line

@@ -71,25 +76,26 @@
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC" />
description="JFIELD_ALT_MODULE_LAYOUT_DESC"
/>

<field
name="moduleclass_sfx"
type="textarea" rows="3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rows goes down

@@ -26,14 +26,16 @@
type="text"
default="5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default goes down

label="TPL_ISIS_COLOR_SIDEBAR_LABEL"
description="TPL_ISIS_COLOR_SIDEBAR_DESC"
class=""
type="color"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

name="loginBackgroundColor"
label="TPL_ISIS_COLOR_LOGIN_BACKGROUND_LABEL"
description="TPL_ISIS_COLOR_LOGIN_BACKGROUND_DESC"
type="color"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

name="loginLogoFile"
label="TPL_ISIS_LOGIN_LOGO_LABEL"
description="TPL_ISIS_LOGIN_LOGO_DESC"
type="media"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. name, type, label, description as the others

description="TPL_ISIS_HEADER_DESC"
class="btn-group btn-group-yesno"
default="1"
filter="integer">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, as the others

value="1">TPL_ISIS_STATUS_BOTTOM</option>
<option
<option
value="0">TPL_ISIS_STATUS_TOP</option>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proposed improvement: option in a single line

@brianteeman
Copy link
Contributor Author

all issues and conflicts have been resolved.
please mark test results and then this can be merged

@andrepereiradasilva
Copy link
Contributor

I have tested this item ✅ successfully on a3672c9


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

@wojsmol
Copy link
Contributor

wojsmol commented May 31, 2017

I have tested this item ✅ successfully on dfddfd5


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

1 similar comment
@andrepereiradasilva
Copy link
Contributor

I have tested this item ✅ successfully on dfddfd5


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

@ghost
Copy link

ghost commented May 31, 2017

RTC after two successful tests.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 31, 2017
@brianteeman brianteeman modified the milestone: Joomla 3.7.3 May 31, 2017
@wilsonge wilsonge merged commit 2683f1d into joomla:staging Jun 4, 2017
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jun 4, 2017
@brianteeman
Copy link
Contributor Author

Thanks

@brianteeman brianteeman deleted the xml_code_admin_rest branch June 4, 2017 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants