Slightly better indication that notice section shows incomplete text

Must still be improved somehow.
This commit is contained in:
Mikael Nordfeldth 2013-11-11 13:18:23 +01:00
parent a987db2c55
commit 0a93fa68f3

View File

@ -101,7 +101,7 @@ class NoticeSection extends Section
$this->out->elementStart('p', 'entry-content');
$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);
$this->out->elementEnd('p');