From 22df2fa40fda569eeb10cea471c7154da6e4e40f Mon Sep 17 00:00:00 2001 From: aroquen Date: Fri, 16 Jan 2015 23:28:07 +0100 Subject: [PATCH] Move bookmark's tags after description --- plugins/Bookmark/BookmarkPlugin.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 9ea83c4caf..2426deb93f 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -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); - } } } -- 2.39.5