]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show count of other bookmarks with link to stream
authorEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 21:45:24 +0000 (13:45 -0800)
committerEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 21:45:24 +0000 (13:45 -0800)
plugins/Bookmark/BookmarkPlugin.php
plugins/Bookmark/bookmark.css

index a6ee92f026b85799f8e04cebe76834bd43b033d5..d93f61c81dacce178ca3e17c4422b16449ee13d5 100644 (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'));
index 27d716da7fd7853bedf1804a125d7298de919eb8..b86e749fd97e1bd6c5df8ea0ab32ad529c51fb54 100644 (file)
@@ -1,3 +1,4 @@
 .bookmark_tags li { display: inline; }
 .bookmark_mentions li { display: inline; }
 .bookmark_avatar { float: left }
+.bookmark_notice_count { float: right }