Commit 53a3fd82 authored by Evan Prodromou's avatar Evan Prodromou

add indicator for limited-scope notices

parent e11c69fd
......@@ -170,7 +170,11 @@ class NoticeListItem extends Widget
{
if (Event::handle('StartOpenNoticeListItemElement', array($this))) {
$id = (empty($this->repeat)) ? $this->notice->id : $this->repeat->id;
$this->out->elementStart('li', array('class' => 'hentry notice',
$class = 'hentry notice';
if ($this->notice->scope != 0 && $this->notice->scope != 1) {
$class .= ' limited-scope';
}
$this->out->elementStart('li', array('class' => $class,
'id' => 'notice-' . $id));
Event::handle('EndOpenNoticeListItemElement', array($this));
}
......
......@@ -1156,6 +1156,11 @@ width:auto;
margin-left:0;
}
.limited-scope .entry-content .timestamp:before {
content:'☠';
font-size:150%;
}
/* override OStatus plugin style */
#form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox {
......
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