mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Fix line length
This commit is contained in:
parent
ba6328f558
commit
f2ef7a945e
@ -101,7 +101,10 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
|
||||
'data-target' => $prefix . '-target-record-' . $record->ID
|
||||
]);
|
||||
|
||||
return $dropdown->Field() . $action->Field() . '<a title="Move posts to" class="MergeActionReveal">move posts to</a>';
|
||||
$action->addExtraClass('btn btn-primary btn-sm blog-merge-action');
|
||||
|
||||
return $dropdown->Field() . $action->Field() .
|
||||
'<a title="Move posts to" class="MergeActionReveal">Move posts to</a>';
|
||||
}
|
||||
|
||||
return null;
|
||||
|
@ -354,7 +354,10 @@ class Blog extends Page implements PermissionProvider
|
||||
);
|
||||
|
||||
$members = $this->getCandidateUsers()->map()->toArray();
|
||||
$toggleButton = LiteralField::create('ToggleButton', '<a class="toggle-description"></a>');
|
||||
$toggleButton = LiteralField::create(
|
||||
'ToggleButton',
|
||||
'<a class="font-icon-info-circled toggle-description"></a>'
|
||||
);
|
||||
|
||||
$editorField = ListboxField::create('Editors', 'Editors', $members)
|
||||
->setRightTitle($toggleButton)
|
||||
|
@ -264,7 +264,8 @@ class BlogPost extends Page
|
||||
)->setDescription(
|
||||
_t(
|
||||
__CLASS__ . '.AdditionalCredits_Description',
|
||||
'If some authors of this post don\'t have CMS access, enter their name(s) here. You can separate multiple names with a comma.'
|
||||
'If some authors of this post don\'t have CMS access, enter their name(s) here. '.
|
||||
'You can separate multiple names with a comma.'
|
||||
)
|
||||
);
|
||||
|
||||
|
@ -360,7 +360,11 @@ class BlogTest extends SapphireTest
|
||||
|
||||
$this->fail('The "profile" action should throw a HTTPResponse_Exception when disable_profiles is enabled');
|
||||
} catch (HTTPResponse_Exception $e) {
|
||||
$this->assertEquals(404, $e->getResponse()->getStatusCode(), 'The response status code should be 404 Not Found');
|
||||
$this->assertEquals(
|
||||
404,
|
||||
$e->getResponse()->getStatusCode(),
|
||||
'The response status code should be 404 Not Found'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user