git ssb

16+

Dominic / patchbay



Commit 4634187810d6f06d0603f7e7e2935ecf2ba4c000

Name pull requests

Charles Lehner committed on 8/2/2016, 8:09:41 PM
Parent: d201581df65c82f8507dd37357a428ad08cb372c

Files changed

modules/git.jschanged
modules/git.jsView
@@ -283,9 +283,11 @@
283283 }})
284284 getIssueState(msg.key, function (err, state) {
285285 if (err) return console.error(err)
286286 isOpen = state === 'open'
287- a.textContent = isOpen ? 'Close' : 'Reopen'
287+ a.textContent = c.type === 'pull-request'
288+ ? isOpen ? 'Close Pull Request' : 'Reopen Pull Request'
289+ : isOpen ? 'Close Issue' : 'Reopen Issue'
288290 })
289291 return a
290292 }
291293 }

Built with git-ssb-web