Move bookmark's tags after description

This commit is contained in:
aroquen 2015-01-16 23:28:07 +01:00 committed by aroquen
parent 20457d4389
commit 22df2fa40f

View 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);
}
}
}