]> source.dussan.org Git - gitblit.git/commit
Conditionally hide the propose patchset instructions
authorJames Moger <james.moger@gitblit.com>
Fri, 7 Mar 2014 19:28:12 +0000 (14:28 -0500)
committerJames Moger <james.moger@gitblit.com>
Fri, 7 Mar 2014 19:28:12 +0000 (14:28 -0500)
commit31e1bfd91836f35a6482431956a03b831e9ae956
treece693e23d550825a01f167e43720b0873229a117
parentc346a9c84fb14713b4974304c96bf3c1d6f508e0
Conditionally hide the propose patchset instructions

There are a few scenarios where a ticket without a patchset should not
display propose instructions.

1. the ticket is resolved
2. the repository is configured to reject new patchsets or is read-only
3. the server is configured to reject new patchsets
src/main/java/com/gitblit/wicket/pages/TicketPage.java