git ssb

30+

cel / git-ssb-web



Commit a20cd36093c1f46d59ffc712177d49bbb9eabb34

Add back form for branch navigation

Fix %v0hcpbxl01j+16B1leMoERaIhxqMcngSGvikHqbCREs=.sha256
cel committed on 11/12/2016, 12:25:49 AM
Parent: 0c847c3c4d0f54a49a7e8b057c37a69857ceb88c

Files changed

lib/repos/index.jschanged
lib/repos/index.jsView
@@ -293,12 +293,14 @@
293293 (repo.head == `refs/heads/${rev}` ? '' : `@${rev}`)
294294
295295 return this.renderRepoPage(req, repo, 'code', rev, title, cat([
296296 h('section', {class: 'branch-info light-grey', method: 'get'}, [
297- h('h3', [
298- h('span', `${req._t(type)}: `),
299- this.revMenu(req, repo, rev)
300- ]),
297 + h('form', {action: '', method: 'get'},
298 + h('h3', [
299 + h('span', `${req._t(type)}: `),
300 + this.revMenu(req, repo, rev)
301 + ])
302 + ),
301303 u.when(type === 'Branch', () => renderRepoLatest(req, repo, rev))
302304 ]),
303305 rev ? cat([
304306 h('section', {class: 'files'}, renderRepoTree(req, repo, rev, path)),

Built with git-ssb-web