mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Add new styling for links in gridfield
This commit is contained in:
parent
2502118a21
commit
9fdf236611
@ -204,7 +204,7 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
|
|||||||
));
|
));
|
||||||
|
|
||||||
$columns->setFieldFormatting(array(
|
$columns->setFieldFormatting(array(
|
||||||
'title' => '<a href=\"$Link\" class=\"cms-panel-link\">$value ($Count)</a>'
|
'title' => '<a href=\"$Link\" class=\"grid-field__link-block\">$value ($Count)</a>'
|
||||||
));
|
));
|
||||||
$gridField->addExtraClass('all-reports-gridfield');
|
$gridField->addExtraClass('all-reports-gridfield');
|
||||||
$fields->push($gridField);
|
$fields->push($gridField);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user