]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move bookmark's tags after description
authoraroquen <antonio.roquentin@sfr.fr>
Fri, 16 Jan 2015 22:28:07 +0000 (23:28 +0100)
committeraroquen <aroquen@me>
Fri, 16 Jan 2015 23:39:07 +0000 (00:39 +0100)
plugins/Bookmark/BookmarkPlugin.php

index 9ea83c4caf1f2263f43ff3952b5e550093b585fc..2426deb93f5658dc538dcacab602b5f17316f766 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);
-        }
     }
 }