Skip to content

Commit

Permalink
[4.0] Change Status dropdown consistency
Browse files Browse the repository at this point in the history
Having a consistent UI is essential. All off the new change status dropdown items are ordrered Published->Unpublished->Archive->Checkin->Trashed except for com_content where Archive and Checkin are reversed.

This PR changes the order of the articles change status dropdown items to be consistent with all the others
  • Loading branch information
brianteeman committed Mar 3, 2019
1 parent 031a278 commit 5170932
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions administrator/components/com_content/View/Articles/HtmlView.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,20 @@ protected function addToolbar()
->text('JUNFEATURE')
->task('articles.unfeatured')
->listCheck(true);

$childBar->checkin('articles.checkin')->listCheck(true);
}

if ($canDo->get('core.execute.transition'))
{
$childBar->archive('articles.archive')->listCheck(true);
}

if ($canDo->get('core.edit.state'))
{
$childBar->checkin('articles.checkin')->listCheck(true);
}

if ($canDo->get('core.execute.transition'))
{
$childBar->trash('articles.trash')->listCheck(true);
}
}
Expand Down

0 comments on commit 5170932

Please sign in to comment.