codecombat/app/templates/editor/patch_modal.jade

28 lines
763 B
Text
Raw Normal View History

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
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
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
2015-01-15 15:01:09 -05:00