visual tweaks for convo view
This commit is contained in:
		@@ -329,7 +329,7 @@ class NoticeListItem extends Widget
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function showAvatar()
 | 
					    function showAvatar()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
	$avatar_size = AVATAR_STREAM_SIZE;
 | 
					        $avatar_size = $this->avatarSize();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $avatar = $this->profile->getAvatar($avatar_size);
 | 
					        $avatar = $this->profile->getAvatar($avatar_size);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -345,6 +345,11 @@ class NoticeListItem extends Widget
 | 
				
			|||||||
                                         $this->profile->nickname));
 | 
					                                         $this->profile->nickname));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    function avatarSize()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        return AVATAR_STREAM_SIZE;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * show the nickname of the author
 | 
					     * show the nickname of the author
 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -168,10 +168,8 @@ class ThreadedNoticeListItem extends NoticeListItem
 | 
				
			|||||||
        if ($notices) {
 | 
					        if ($notices) {
 | 
				
			||||||
            $this->out->elementStart('ul', 'notices threaded-notices xoxo');
 | 
					            $this->out->elementStart('ul', 'notices threaded-notices xoxo');
 | 
				
			||||||
            foreach (array_reverse($notices) as $notice) {
 | 
					            foreach (array_reverse($notices) as $notice) {
 | 
				
			||||||
                $this->out->elementStart('li');
 | 
					                $item = new ThreadedNoticeListSubItem($notice, $this->out);
 | 
				
			||||||
                $item = new NoticeListItem($notice, $this->out);
 | 
					 | 
				
			||||||
                $item->show();
 | 
					                $item->show();
 | 
				
			||||||
                $this->out->elementEnd('li');
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            $this->out->elementEnd('ul');
 | 
					            $this->out->elementEnd('ul');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@@ -179,3 +177,22 @@ class ThreadedNoticeListItem extends NoticeListItem
 | 
				
			|||||||
        parent::showEnd();
 | 
					        parent::showEnd();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class ThreadedNoticeListSubItem extends NoticeListItem
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    function avatarSize()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        return AVATAR_STREAM_SIZE; // @fixme would like something in between
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    function showNoticeLocation()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        //
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    function showNoticeSource()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        //
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1109,6 +1109,18 @@ border-top-width:1px;
 | 
				
			|||||||
border-top-style:solid;
 | 
					border-top-style:solid;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Threaded notices sublist */
 | 
				
			||||||
 | 
					#content .notices .threaded-notices {
 | 
				
			||||||
 | 
					    margin-left: 10%;
 | 
				
			||||||
 | 
					    width: 90%;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    background: #e4e8f1;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					#content .threaded-notices .notice .author .photo {
 | 
				
			||||||
 | 
					    left: 8px;
 | 
				
			||||||
 | 
					    width: 32px;
 | 
				
			||||||
 | 
					    height: 32px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
/* NOTICES */
 | 
					/* NOTICES */
 | 
				
			||||||
#notices_primary {
 | 
					#notices_primary {
 | 
				
			||||||
float:left;
 | 
					float:left;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user