mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
27 lines
No EOL
734 B
Text
27 lines
No EOL
734 B
Text
extends /templates/modal/modal_base
|
|
|
|
block modal-header-content
|
|
.modal-header-content
|
|
h3 Patch
|
|
|
|
block modal-body-content
|
|
.modal-body
|
|
p= patch.get('commitMessage')
|
|
if deltaWorked
|
|
.changes-stub
|
|
else
|
|
.alert.alert-danger Could not apply this delta to the current version.
|
|
|
|
|
|
block modal-footer
|
|
.modal-footer
|
|
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
|
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
|
|
|