git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Commit 7ef71d707b30be90cad8a74eaa272e42532d9491

msg.key is correct here

Ev Bogue committed on 7/29/2018, 6:10:24 PM
Parent: 563f3289796d5937aa1841d93260f191a0b0da45

Files changed

render.jschanged
render.jsView
@@ -90,11 +90,11 @@
9090 }
9191 else if (msg.value.content.type == 'git-repo') {
9292 message.appendChild(tools.header(msg))
9393 if (msg.value.content.name) {
94- message.appendChild(h('p', h('a', {href: msg.link}, '%' + msg.value.content.name)))
94+ message.appendChild(h('p', h('a', {href: '#' + msg.key}, '%' + msg.value.content.name)))
9595 } else {
96- message.appendChild(h('p', h('a', {href: msg.link}, msg.link)))
96+ message.appendChild(h('p', h('a', {href: '#' + msg.key}, msg.key)))
9797 }
9898 var cloneurl = h('pre', 'git clone ssb://' + msg.key)
9999 message.appendChild(cloneurl)
100100 //message.appendChild(h('pre', tools.rawJSON(msg.value.content)))

Built with git-ssb-web