Skip to content

Commit

Permalink
Fixed: Consistency of "unpublished" -i con colours #43375 (#43424)
Browse files Browse the repository at this point in the history
* Fixed: Consistency of "unpublished" -icon colours #43375

Fixed the icon colour of the unpublished articles in the associated articles list.

* Replaced other instances of icon-times with icon-unpublish

* Changed icon-folder to icon-archive

* Changed icon-check to icon-publish

---------

Co-authored-by: Quy <quy@nomonkeybiz.com>
  • Loading branch information
mabdelaziz77 and Quy authored Aug 30, 2024
1 parent 53a3390 commit d04b139
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];

Text::script('COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT', true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];

$this->document->addScriptOptions('associations-modal', ['func' => $function]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
?>
<?php foreach ($this->items as $i => $item) : ?>
Expand Down
6 changes: 3 additions & 3 deletions administrator/components/com_contact/tmpl/contacts/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
?>
<?php foreach ($this->items as $i => $item) : ?>
Expand Down
4 changes: 2 additions & 2 deletions administrator/components/com_content/tmpl/articles/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
?>
Expand Down
6 changes: 3 additions & 3 deletions administrator/components/com_fields/tmpl/fields/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
foreach ($this->items as $i => $item) :
?>
Expand Down
6 changes: 3 additions & 3 deletions administrator/components/com_modules/tmpl/modules/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
foreach ($this->items as $i => $item) :
?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
<?php
$iconStates = [
-2 => 'icon-trash',
0 => 'icon-times',
1 => 'icon-check',
2 => 'icon-folder',
0 => 'icon-unpublish',
1 => 'icon-publish',
2 => 'icon-archive',
];
?>
<?php foreach ($this->items as $i => $item) : ?>
Expand Down

0 comments on commit d04b139

Please sign in to comment.