Slightly better indication that notice section shows incomplete text
Must still be improved somehow.
This commit is contained in:
parent
a987db2c55
commit
0a93fa68f3
|
@ -101,7 +101,7 @@ class NoticeSection extends Section
|
||||||
|
|
||||||
$this->out->elementStart('p', 'entry-content');
|
$this->out->elementStart('p', 'entry-content');
|
||||||
$this->out->text(mb_strlen($notice->content) > $this->maxchars
|
$this->out->text(mb_strlen($notice->content) > $this->maxchars
|
||||||
? mb_substr($notice->content, 0, $this->maxchars) . '…'
|
? mb_substr($notice->content, 0, $this->maxchars) . '[…]'
|
||||||
: $notice->content);
|
: $notice->content);
|
||||||
$this->out->elementEnd('p');
|
$this->out->elementEnd('p');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user