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()
|
function showNoticeTitle()
|
||||||
{
|
{
|
||||||
if (Event::handle('StartShowNoticeTitle', array($this))) {
|
if (Event::handle('StartShowNoticeTitle', array($this))) {
|
||||||
$this->element('a', array('href' => $this->notice->getUrl(true),
|
$this->element('a', array('href' => $this->notice->getUri(),
|
||||||
'class' => 'notice-title'),
|
'class' => 'p-name u-uid'),
|
||||||
$this->notice->getTitle());
|
$this->notice->getTitle());
|
||||||
Event::handle('EndShowNoticeTitle', array($this));
|
Event::handle('EndShowNoticeTitle', array($this));
|
||||||
}
|
}
|
||||||
|
@ -1013,7 +1013,7 @@ content: ":";
|
|||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice-title {
|
.notice-headers > .u-uid {
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user