Skip to content

Commit

Permalink
Update the moderation queues to display HTML content
Browse files Browse the repository at this point in the history
This is a fairly significant change that has the following functionality:

- The moderation queues have undergone a redesign to give more space to the content.
- Content is now rendered in HTML unless it is an edit which still uses the old functionality.
    - The style_compat.csss is now brought into the dashboard which is fairly significant and could cause CSS glitches elsewhere. However, it is necessary to properly render the HTML of posts.
    - This does not process embeds right now, but that could be done as a later change.
- The MediaItemModule now has a “title meta” area to put items beside the username. It’s meta margins have also been tweaked.
- The toolbar on the moderation queues now sticks to the top after scrolling.
- There have been a few CSS tweaks for stuff like checkbox columns and the new moderation table layout.
  • Loading branch information
tburry committed Jun 25, 2019
1 parent a2e51dd commit d9686a9
Show file tree
Hide file tree
Showing 25 changed files with 3,455 additions and 591 deletions.
1 change: 1 addition & 0 deletions applications/dashboard/controllers/class.logcontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public function edits($type = '', $page = '', $op = false) {
$this->permission('Garden.Moderation.Manage');
list($offset, $limit) = offsetLimit($page, 10);
$this->setData('Title', t('Change Log'));
$this->setData('_flaggedByTitle', t('Updated By'));

$operations = ['Edit', 'Delete', 'Ban'];
if ($op && in_array(ucfirst($op), $operations)) {
Expand Down
Loading

0 comments on commit d9686a9

Please sign in to comment.