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