git ssb

30+

cel / git-ssb-web



Commit b20299f38380483b7979b50fb688cf83bdf5e73e

Don't show "Create Pull Request" button in public mode

Charles Lehner committed on 7/21/2016, 10:37:02 PM
Parent: 0b0753593eee0bace2669f35bab7cdc182cf203a

Files changed

lib/repos/pulls.jschanged
lib/repos/pulls.jsView
@@ -363,8 +363,9 @@
363363 forms.post(req, repo, req._t('Description'), 8) +
364364 '<button type="submit" class="btn open">' +
365365 req._t('Create') + '</button>' +
366366 '</form></section>'
367 + : self.web.isPublic ? ''
367368 : '<section><form method="get" action="">' +
368369 u.hiddenInputs({
369370 base: baseBranch,
370371 head: query.head

Built with git-ssb-web