? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
19 Jul 2021

The margins on the logo and sidebar were changed in LTR but the RTL override was not updated. As its no longer needed this PR removes the override.

Before

image

After

image

avatar brianteeman brianteeman - open - 19 Jul 2021
avatar brianteeman brianteeman - change - 19 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jul 2021
Category Administration Templates (admin) NPM Change
avatar Quy Quy - test_item - 19 Jul 2021 - Tested successfully
avatar Quy
Quy - comment - 19 Jul 2021

I have tested this item successfully on 50042a5


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

avatar ChristineWk
ChristineWk - comment - 19 Jul 2021

can't test PRs with RTL. E.g. persian language and other are not released. https://downloads.joomla.org/language-packs/translations-joomla4

Tried also changing in index.php:

`// Enable assets
$wa->usePreset('template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'rtl'))
->useStyle('template.active.language')
->useStyle('template.user')
->addInlineStyle(':root {
--hue: ' . $matches[1] . ';
--template-bg-light: ' . $this->params->get('bg-light', '#f0f4fb') . ';
--template-text-dark: ' . $this->params->get('text-dark', '#495057') . ';
--template-text-light: ' . $this->params->get('text-light', '#ffffff') . ';
--template-link-color: ' . $this->params->get('link-color', '#2a69b8') . ';
--template-special-color: ' . $this->params->get('special-color', '#001B4C') . ';
}');

// Override 'template.active' asset to set correct ltr/rtl dependency
$wa->registerStyle('template.active', '', [], [], ['template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'rtl')]);`

avatar Quy
Quy - comment - 19 Jul 2021

Go to \administrator\language\en-GB\langmetadata.xml

Line 16: <rtl>0</rtl>
Change 0 to 1.

avatar ChristineWk ChristineWk - test_item - 19 Jul 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 19 Jul 2021

I have tested this item successfully on 50042a5

Thank you @Quy
Not so easy to look from RTL :-)


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

avatar Quy Quy - change - 19 Jul 2021
Status Pending Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 19 Jul 2021

RTC


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

avatar wilsonge wilsonge - change - 19 Jul 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-07-19 21:37:05
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 19 Jul 2021

Thanks!

avatar brianteeman
brianteeman - comment - 19 Jul 2021

thx

Add a Comment

Login with GitHub to post a comment