mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-21 04:52:47 -05:00
8e8a3103d5
This removes getRenderData from: CareersView, SaveCampaignModal, InfiniteLoopModal, SpellListEntryThangsView, SaveLoadView, PlaySettingsModal and JobProfileCodeModal.
21 lines
646 B
Text
21 lines
646 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3 Save Changes to Campaign
|
|
|
|
block modal-body-content
|
|
if !view.modelsToSave.models.length
|
|
.alert.alert-info(data-i18n="delta.no_changes") No changes
|
|
|
|
for model in view.modelsToSave.models
|
|
.panel.panel-default
|
|
.panel-heading
|
|
span.panel-title.spr= model.get('name')
|
|
span.text-muted= model.constructor.className
|
|
.panel-body
|
|
.delta-view(data-model-id=model.id)
|
|
|
|
block modal-footer
|
|
.modal-footer
|
|
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
|
button.btn.btn-primary(data-i18n="common.save")#save-button Save
|