mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Moved timezone coupling in SS_Report labels into timezoneawareness module
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99178 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e65429d6a6
commit
d61a370972
@ -169,11 +169,12 @@ class SS_Report extends ViewableData {
|
||||
*/
|
||||
function getCMSFields() {
|
||||
$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(
|
||||
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user