show count of other bookmarks with link to stream

This commit is contained in:
Evan Prodromou 2010-12-28 13:45:24 -08:00
parent d31397bd45
commit dcd0e3ec7e
2 changed files with 6 additions and 0 deletions

View File

@ -239,6 +239,11 @@ class BookmarkPlugin extends Plugin
array('href' => $att->url),
$nb->title);
$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'));

View File

@ -1,3 +1,4 @@
.bookmark_tags li { display: inline; }
.bookmark_mentions li { display: inline; }
.bookmark_avatar { float: left }
.bookmark_notice_count { float: right }