forked from GNUsocial/gnu-social
Proper Microformats2 h-entry p-name + u-uid markup
This commit is contained in:
parent
e4e0a39dad
commit
6529fdd28d
@ -179,8 +179,8 @@ class NoticeListItem extends Widget
|
||||
function showNoticeTitle()
|
||||
{
|
||||
if (Event::handle('StartShowNoticeTitle', array($this))) {
|
||||
$this->element('a', array('href' => $this->notice->getUrl(true),
|
||||
'class' => 'notice-title'),
|
||||
$this->element('a', array('href' => $this->notice->getUri(),
|
||||
'class' => 'p-name u-uid'),
|
||||
$this->notice->getTitle());
|
||||
Event::handle('EndShowNoticeTitle', array($this));
|
||||
}
|
||||
|
@ -1013,7 +1013,7 @@ content: ":";
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.notice-title {
|
||||
.notice-headers > .u-uid {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user