add source class to notice list items
This commit is contained in:
parent
3b4d3c6ac3
commit
1cab702df9
|
@ -167,6 +167,9 @@ class NoticeListItem extends Widget
|
|||
if ($this->notice->scope != 0 && $this->notice->scope != 1) {
|
||||
$class .= ' limited-scope';
|
||||
}
|
||||
if (!empty($this->notice->source)) {
|
||||
$class .= ' notice-source-'.$this->notice->source;
|
||||
}
|
||||
$this->out->elementStart('li', array('class' => $class,
|
||||
'id' => 'notice-' . $id));
|
||||
Event::handle('EndOpenNoticeListItemElement', array($this));
|
||||
|
|
Loading…
Reference in New Issue
Block a user