Add wrapper div to aid in styling
This commit is contained in:
parent
f766ea4257
commit
950c9e50ac
|
@ -66,16 +66,20 @@ createWidget('topic-map-summary', {
|
||||||
contents.push(h('li',
|
contents.push(h('li',
|
||||||
[
|
[
|
||||||
h('h4', I18n.t('created_lowercase')),
|
h('h4', I18n.t('created_lowercase')),
|
||||||
|
h('div.topic-map-post.created-at', [
|
||||||
avatarFor('tiny', { username: attrs.createdByUsername, template: attrs.createdByAvatarTemplate }),
|
avatarFor('tiny', { username: attrs.createdByUsername, template: attrs.createdByAvatarTemplate }),
|
||||||
dateNode(attrs.topicCreatedAt)
|
dateNode(attrs.topicCreatedAt)
|
||||||
|
])
|
||||||
]
|
]
|
||||||
));
|
));
|
||||||
contents.push(h('li',
|
contents.push(h('li',
|
||||||
h('a', { attributes: { href: attrs.lastPostUrl } }, [
|
h('a', { attributes: { href: attrs.lastPostUrl } }, [
|
||||||
h('h4', I18n.t('last_reply_lowercase')),
|
h('h4', I18n.t('last_reply_lowercase')),
|
||||||
|
h('div.topic-map-post.last-reply', [
|
||||||
avatarFor('tiny', { username: attrs.lastPostUsername, template: attrs.lastPostAvatarTemplate }),
|
avatarFor('tiny', { username: attrs.lastPostUsername, template: attrs.lastPostAvatarTemplate }),
|
||||||
dateNode(attrs.lastPostAt)
|
dateNode(attrs.lastPostAt)
|
||||||
])
|
])
|
||||||
|
])
|
||||||
));
|
));
|
||||||
contents.push(h('li', [
|
contents.push(h('li', [
|
||||||
numberNode(attrs.topicReplyCount),
|
numberNode(attrs.topicReplyCount),
|
||||||
|
|
Loading…
Reference in New Issue