Commit a20cd36093c1f46d59ffc712177d49bbb9eabb34
Add back form for branch navigation
Fix %v0hcpbxl01j+16B1leMoERaIhxqMcngSGvikHqbCREs=.sha256cel committed on 11/12/2016, 12:25:49 AM
Parent: 0c847c3c4d0f54a49a7e8b057c37a69857ceb88c
Files changed
lib/repos/index.js | changed |
lib/repos/index.js | |||
---|---|---|---|
@@ -293,12 +293,14 @@ | |||
293 | 293 … | (repo.head == `refs/heads/${rev}` ? '' : `@${rev}`) | |
294 | 294 … | ||
295 | 295 … | return this.renderRepoPage(req, repo, 'code', rev, title, cat([ | |
296 | 296 … | 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 … | + ), | ||
301 | 303 … | u.when(type === 'Branch', () => renderRepoLatest(req, repo, rev)) | |
302 | 304 … | ]), | |
303 | 305 … | rev ? cat([ | |
304 | 306 … | h('section', {class: 'files'}, renderRepoTree(req, repo, rev, path)), |
Built with git-ssb-web