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