We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1cab702d authored by Evan Prodromou's avatar Evan Prodromou

add source class to notice list items

parent 3b4d3c6a
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment