git ssb

0+

dangerousbeans / patchwork



forked from Matt McKegg / patchwork

Commit fe2173f46498c968ad5bd79d249d023ca4998f88

message layout: move backlinks to below actions

Matt McKegg committed on 4/8/2017, 3:10:23 AM
Parent: d3ad4af2e605d2690d1e5fcfb6982c41857d1d7f

Files changed

plugs/message/html/layout/default.jschanged
plugs/message/html/layout/default.jsView
@@ -43,24 +43,24 @@
4343 classList
4444 }, [
4545 messageHeader(msg, replyInfo),
4646 h('section', [opts.content]),
47- map(backlinks, backlink => {
48- return h('a.backlink', {
49- href: backlink,
50- title: backlink
51- }, [
52- h('strong', 'Referenced from'), ' ', api.message.obs.name(backlink)
53- ])
54- }),
5547 computed(msg.key, (key) => {
5648 if (ref.isMsg(key)) {
5749 return h('footer', [
5850 h('div.actions', [
5951 api.message.html.action(msg)
6052 ])
6153 ])
6254 }
55+ }),
56+ map(backlinks, backlink => {
57+ return h('a.backlink', {
58+ href: backlink,
59+ title: backlink
60+ }, [
61+ h('strong', 'Referenced from'), ' ', api.message.obs.name(backlink)
62+ ])
6363 })
6464 ])
6565
6666 // scoped

Built with git-ssb-web