Commit 813a345b34deba471c116f6a1d54570d8b2f2c63
include archive versions in links in dashboard
cel committed on 7/15/2017, 7:47:21 PMParent: 6eaa154c139d73b65498f0c9648613df3d23ee44
Files changed
dat.dpi | changed |
dat.dpi | ||
---|---|---|
@@ -306,11 +306,12 @@ | ||
306 | 306 … | ] : Object.keys(archives).map(function (key) { |
307 | 307 … | var archive = archives[key] |
308 | 308 … | var description = archive.manifest && archive.manifest.description |
309 | 309 … | var title = archive.manifest && archive.manifest.title |
310 … | + var href = 'dat://' + key + '+' + archive.version | |
310 | 311 … | return [ |
311 | 312 … | h('p', [ |
312 | - h('a', {href: 'dat://' + key}, title || h('code', key)), | |
313 … | + h('a', {href: href}, title || h('code', key)), | |
313 | 314 … | description ? [' - ', String(description)] : '', |
314 | 315 … | ]), |
315 | 316 … | h('blockquote', [ |
316 | 317 … | h('h3', 'Peers'), |
Built with git-ssb-web