Commit b773afd37fa9e0e53c2eb8cd47b15c682a315f79
link "All" in top nav to the everythingStream view
Ev Bogue committed on 1/24/2019, 6:11:56 PMParent: faa0f89780997057f4c88892abea9afc591f6c72
Files changed
index.js | changed |
views.js | changed |
index.js | |||
---|---|---|---|
@@ -31,9 +31,9 @@ | |||
31 | 31 … | } | |
32 | 32 … | } | |
33 | 33 … | } | |
34 | 34 … | }))), | |
35 | - h('li', h('a', {href: '#' }, 'All')), | ||
35 … | + h('li', h('a', {href: '#all/' }, 'All')), | ||
36 | 36 … | h('li', h('a', {href: '#friends/' + id }, 'Friends')), | |
37 | 37 … | h('li', h('a', {href: '#wall/' + id }, 'Wall')), | |
38 | 38 … | h('li', h('a', {href: '#key' }, 'Your Key')), | |
39 | 39 … | h('li.right', h('a', {href: 'http://github.com/evbogue/decent'}, '?')), |
views.js | ||
---|---|---|
@@ -613,8 +613,10 @@ | ||
613 | 613 … | } else if (src == 'backchannel') { |
614 | 614 … | backchannel() |
615 | 615 … | } else if (src == 'key') { |
616 | 616 … | keyPage() |
617 … | + } else if (src == 'all') { | |
618 … | + everythingStream() | |
617 | 619 … | } else if (src[0] == '?' || (src[0] == '#')) { |
618 | 620 … | if (src[0] == '#') |
619 | 621 … | search(src.split('%20').join(' ')) |
620 | 622 … | else |
Built with git-ssb-web