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',
|
contents.push(h('li',
|
||||||
[
|
[
|
||||||
h('h4', I18n.t('created_lowercase')),
|
h('h4', I18n.t('created_lowercase')),
|
||||||
avatarFor('tiny', { username: attrs.createdByUsername, template: attrs.createdByAvatarTemplate }),
|
h('div.topic-map-post.created-at', [
|
||||||
dateNode(attrs.topicCreatedAt)
|
avatarFor('tiny', { username: attrs.createdByUsername, template: attrs.createdByAvatarTemplate }),
|
||||||
|
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')),
|
||||||
avatarFor('tiny', { username: attrs.lastPostUsername, template: attrs.lastPostAvatarTemplate }),
|
h('div.topic-map-post.last-reply', [
|
||||||
dateNode(attrs.lastPostAt)
|
avatarFor('tiny', { username: attrs.lastPostUsername, template: attrs.lastPostAvatarTemplate }),
|
||||||
|
dateNode(attrs.lastPostAt)
|
||||||
|
])
|
||||||
])
|
])
|
||||||
));
|
));
|
||||||
contents.push(h('li', [
|
contents.push(h('li', [
|
||||||
|
|
Loading…
Reference in New Issue