show count of other bookmarks with link to stream
This commit is contained in:
parent
d31397bd45
commit
dcd0e3ec7e
@ -239,6 +239,11 @@ class BookmarkPlugin extends Plugin
|
|||||||
array('href' => $att->url),
|
array('href' => $att->url),
|
||||||
$nb->title);
|
$nb->title);
|
||||||
$out->elementEnd('h3');
|
$out->elementEnd('h3');
|
||||||
|
|
||||||
|
$out->element('a', array('class' => 'bookmark_notice_count',
|
||||||
|
'href' => common_local_url('noticebyurl',
|
||||||
|
array('id' => $att->id))),
|
||||||
|
$att->noticeCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
$out->elementStart('ul', array('class' => 'bookmark_tags'));
|
$out->elementStart('ul', array('class' => 'bookmark_tags'));
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
.bookmark_tags li { display: inline; }
|
.bookmark_tags li { display: inline; }
|
||||||
.bookmark_mentions li { display: inline; }
|
.bookmark_mentions li { display: inline; }
|
||||||
.bookmark_avatar { float: left }
|
.bookmark_avatar { float: left }
|
||||||
|
.bookmark_notice_count { float: right }
|
||||||
|
Loading…
Reference in New Issue
Block a user