2014-12-22 16:21:57 -05:00
|
|
|
extends /templates/core/modal-base
|
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
h3 Save Changes to Campaign
|
|
|
|
|
|
|
|
block modal-body-content
|
2015-11-09 16:29:27 -05:00
|
|
|
if !view.modelsToSave.models.length
|
2015-01-13 15:06:53 -05:00
|
|
|
.alert.alert-info(data-i18n="delta.no_changes") No changes
|
2015-11-09 16:29:27 -05:00
|
|
|
|
|
|
|
for model in view.modelsToSave.models
|
2014-12-22 16:21:57 -05:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading
|
|
|
|
span.panel-title.spr= model.get('name')
|
2015-11-09 16:29:27 -05:00
|
|
|
span.text-muted= model.constructor.className
|
2014-12-22 16:21:57 -05:00
|
|
|
.panel-body
|
|
|
|
.delta-view(data-model-id=model.id)
|
|
|
|
|
|
|
|
block modal-footer
|
|
|
|
.modal-footer
|
|
|
|
button(data-dismiss="modal", data-i18n="common.cancel").btn Cancel
|
2015-01-13 15:06:53 -05:00
|
|
|
button.btn.btn-primary(data-i18n="common.save")#save-button Save
|