add indicator for limited-scope notices
This commit is contained in:
		| @@ -170,7 +170,11 @@ class NoticeListItem extends Widget | |||||||
|     { |     { | ||||||
|         if (Event::handle('StartOpenNoticeListItemElement', array($this))) { |         if (Event::handle('StartOpenNoticeListItemElement', array($this))) { | ||||||
|             $id = (empty($this->repeat)) ? $this->notice->id : $this->repeat->id; |             $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)); |                                                  'id' => 'notice-' . $id)); | ||||||
|             Event::handle('EndOpenNoticeListItemElement', array($this)); |             Event::handle('EndOpenNoticeListItemElement', array($this)); | ||||||
|         } |         } | ||||||
|   | |||||||
| @@ -1156,6 +1156,11 @@ width:auto; | |||||||
| margin-left:0; | margin-left:0; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .limited-scope .entry-content .timestamp:before { | ||||||
|  | content:'☠'; | ||||||
|  | font-size:150%; | ||||||
|  | } | ||||||
|  |  | ||||||
| /* override OStatus plugin style */ | /* override OStatus plugin style */ | ||||||
|  |  | ||||||
| #form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox { | #form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user