]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'merge-requests/29' into social-master
authorRoland Haeder <roland@mxchange.org>
Sun, 18 Jan 2015 13:08:57 +0000 (14:08 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 18 Jan 2015 13:09:00 +0000 (14:09 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/microappplugin.php
plugins/Bookmark/BookmarkPlugin.php
plugins/Bookmark/css/bookmark.css

index d9a00f7ee568f0166e9ce84e63e6cb54a32c1315..53fe5e9995eab4d7bf467c7015d769c8122dbd04 100644 (file)
@@ -104,8 +104,7 @@ abstract class MicroAppPlugin extends ActivityHandlerPlugin
 
         $adapter->showNotice();
         $adapter->showNoticeAttachments();
-        $adapter->showNoticeInfo();
-        $adapter->showNoticeOptions();
+        $adapter->showNoticeFooter();
 
         return false;
     }
index 2a98c5ebafe927ec24d7587c16651b6b2dd00a37..a3dc196e78eabe513c4e727f45acc2b9c9721aa6 100644 (file)
@@ -536,6 +536,12 @@ class BookmarkPlugin extends MicroAppPlugin
         $replies = $stored->getReplies();
         $tags = $stored->getTags();
 
+        if (!empty($nb->description)) {
+            $out->element('p',
+                          array('class' => 'bookmark-description'),
+                          $nb->description);
+        }
+
         if (!empty($replies) || !empty($tags)) {
 
             $out->elementStart('ul', array('class' => 'bookmark-tags'));
@@ -569,10 +575,5 @@ class BookmarkPlugin extends MicroAppPlugin
             $out->elementEnd('ul');
         }
 
-        if (!empty($nb->description)) {
-            $out->element('p',
-                          array('class' => 'bookmark-description'),
-                          $nb->description);
-        }
     }
 }
index 7d10957c685bd3196ef6abb6780a33e56f82ec94..e785664f8146b80b1e05831b5bcdfd31ac91b95f 100644 (file)
@@ -3,8 +3,7 @@
 .bookmark-tags li { display: inline; }
 
 .bookmark h3 {
-    margin: 0px 0px 8px 0px;
-    line-height: 3em;
+    margin: 4px 0px 8px 0px;
 }
 
 .bookmark-notice-count {
@@ -42,7 +41,7 @@
 
 .bookmark-tags {
     clear: both;
-    margin-bottom: 8px;
+    margin-bottom: 4px;
     line-height: 1.6em;
 }