From: Evan Prodromou Date: Tue, 28 Dec 2010 21:45:24 +0000 (-0800) Subject: show count of other bookmarks with link to stream X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dcd0e3ec7e8dfaaf121cafa25771427e809f33e6;p=quix0rs-gnu-social.git show count of other bookmarks with link to stream --- diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index a6ee92f026..d93f61c81d 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -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')); diff --git a/plugins/Bookmark/bookmark.css b/plugins/Bookmark/bookmark.css index 27d716da7f..b86e749fd9 100644 --- a/plugins/Bookmark/bookmark.css +++ b/plugins/Bookmark/bookmark.css @@ -1,3 +1,4 @@ .bookmark_tags li { display: inline; } .bookmark_mentions li { display: inline; } .bookmark_avatar { float: left } +.bookmark_notice_count { float: right }