mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-07 16:48:21 +02:00
MINOR Moved timezone coupling in SS_Report labels into timezoneawareness module (from r99178)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111611 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
405a9c4563
commit
f60941648b
@ -169,11 +169,12 @@ class SS_Report extends ViewableData {
|
|||||||
*/
|
*/
|
||||||
function getCMSFields() {
|
function getCMSFields() {
|
||||||
$fields = new FieldSet(
|
$fields = new FieldSet(
|
||||||
new LiteralField('ReportTitle', "<h3>{$this->title()}</h3><p>All times are in the server timezone, unless otherwise specified</p>")
|
new LiteralField(
|
||||||
|
'ReportTitle',
|
||||||
|
"<h3>{$this->title()}</h3>"
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// $fields->push();
|
|
||||||
|
|
||||||
if($this->description) $fields->push(
|
if($this->description) $fields->push(
|
||||||
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));
|
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user