forked from GNUsocial/gnu-social
Move bookmark's tags after description
This commit is contained in:
parent
20457d4389
commit
22df2fa40f
@ -536,6 +536,12 @@ class BookmarkPlugin extends MicroAppPlugin
|
|||||||
$replies = $stored->getReplies();
|
$replies = $stored->getReplies();
|
||||||
$tags = $stored->getTags();
|
$tags = $stored->getTags();
|
||||||
|
|
||||||
|
if (!empty($nb->description)) {
|
||||||
|
$out->element('p',
|
||||||
|
array('class' => 'bookmark-description'),
|
||||||
|
$nb->description);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($replies) || !empty($tags)) {
|
if (!empty($replies) || !empty($tags)) {
|
||||||
|
|
||||||
$out->elementStart('ul', array('class' => 'bookmark-tags'));
|
$out->elementStart('ul', array('class' => 'bookmark-tags'));
|
||||||
@ -569,10 +575,5 @@ class BookmarkPlugin extends MicroAppPlugin
|
|||||||
$out->elementEnd('ul');
|
$out->elementEnd('ul');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($nb->description)) {
|
|
||||||
$out->element('p',
|
|
||||||
array('class' => 'bookmark-description'),
|
|
||||||
$nb->description);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user