2014-11-29 14:39:37 -05:00
|
|
|
extends /templates/core/modal-base
|
2014-04-12 00:11:52 -04:00
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
.modal-header-content
|
2015-01-15 15:01:09 -05:00
|
|
|
h3(data-i18n="resources.patch") Patch
|
2014-04-12 00:11:52 -04:00
|
|
|
|
|
|
|
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'
|
2015-10-13 11:05:47 -04:00
|
|
|
button.btn.btn-danger#withdraw-button(data-i18n="general.withdraw") Withdraw
|
2014-04-12 01:33:09 -04:00
|
|
|
if isPatchRecipient
|
|
|
|
if status != 'accepted'
|
2015-10-13 11:05:47 -04:00
|
|
|
button.btn.btn-primary#accept-button(data-i18n="general.accept") Accept
|
2014-04-12 01:33:09 -04:00
|
|
|
if status != 'rejected'
|
2015-10-13 11:05:47 -04:00
|
|
|
button.btn.btn-danger#reject-button(data-i18n="general.reject") Reject
|