mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
09a9358b9e
* Do not use 'backup' system * Warn when about to lose changes * Show list of patches and their statuses
25 lines
780 B
Text
25 lines
780 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
.modal-header-content
|
|
h3(data-i18n="resources.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
|
|
if isPatchCreator
|
|
if status != 'withdrawn'
|
|
button.btn.btn-danger#withdraw-button(data-i18n="general.withdraw")
|
|
if isPatchRecipient
|
|
if status != 'accepted'
|
|
button.btn.btn-primary#accept-button(data-i18n="general.accept")
|
|
if status != 'rejected'
|
|
button.btn.btn-danger#reject-button(data-i18n="general.reject")
|