2014-04-12 00:11:52 -04:00
|
|
|
extends /templates/modal/modal_base
|
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
.modal-header-content
|
|
|
|
h3 Patch
|
|
|
|
|
|
|
|
block modal-body-content
|
|
|
|
.modal-body
|
2014-04-17 17:23:33 -04:00
|
|
|
p= patch.get('commitMessage')
|
2014-06-24 17:25:01 -04:00
|
|
|
if deltaWorked
|
|
|
|
.changes-stub
|
|
|
|
else
|
|
|
|
.alert.alert-danger Could not apply this delta to the current version.
|
2014-04-12 00:11:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
block modal-footer
|
|
|
|
.modal-footer
|
|
|
|
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
2014-04-12 01:33:09 -04:00
|
|
|
if isPatchCreator
|
|
|
|
if status != 'withdrawn'
|
|
|
|
button.btn.btn-danger#withdraw-button Withdraw
|
|
|
|
if isPatchRecipient
|
|
|
|
if status != 'accepted'
|
|
|
|
button.btn.btn-primary#accept-button Accept
|
|
|
|
if status != 'rejected'
|
|
|
|
button.btn.btn-danger#reject-button Reject
|
|
|
|
|