$this->elementStart('section', array('class'=>'notice-headers'));
$this->showNoticeTitle();
$this->showAuthor();
- if ($this->addressees) { $this->showAddressees(); }
+
+ if (!empty($this->notice->reply_to) || $this->addressees) {
+ $this->elementStart('div', array('class' => 'parents'));
+ if (!empty($this->notice->reply_to)) { $this->showParent(); }
+ if ($this->addressees) { $this->showAddressees(); }
+ $this->elementEnd('div');
+ }
$this->elementEnd('section');
}
}
}
+ function showParent()
+ {
+ $this->out->element(
+ 'a',
+ array(
+ 'href' => $this->notice->getParent()->getUrl(),
+ 'class' => 'u-in-reply-to',
+ 'rel' => 'in-reply-to'
+ ),
+ 'in reply to'
+ );
+ }
+
function showAddressees()
{
$pa = $this->getProfileAddressees();
width:100%;
}
-.notice .p-author {
- margin-right: 8px;
+.notice .parents {
+ display: inline;
}
-.notice .addressees::before {
- content: '\25B8';
+.notice .parents::before {
+ content: '\25B8 ';
}
.notice .addressees, .notice .addressees li {
display: inline;