2013-08-21 22:49:35 +08:00
|
|
|
<div>
|
|
|
|
<ul class="nav nav-pills">
|
2016-05-07 04:04:38 +08:00
|
|
|
<li class="{{if newSelected 'active'}}">
|
2015-09-09 00:27:20 +08:00
|
|
|
<a href {{action "selectNew"}}>{{i18n 'admin.logs.staff_actions.new_value'}}</a>
|
2013-08-21 22:49:35 +08:00
|
|
|
</li>
|
2016-05-07 04:04:38 +08:00
|
|
|
<li class="{{if previousSelected 'active'}}">
|
2015-09-09 00:27:20 +08:00
|
|
|
<a href {{action "selectPrevious"}}>{{i18n 'admin.logs.staff_actions.previous_value'}}</a>
|
2013-08-21 22:49:35 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="modal-body">
|
2016-05-07 04:04:38 +08:00
|
|
|
<div class="modal-tab new-tab {{unless newSelected 'invisible'}}">
|
2015-08-29 01:06:15 +08:00
|
|
|
{{#if model.new_value}}
|
|
|
|
{{#with model.new_value}}
|
2016-11-10 03:47:58 +08:00
|
|
|
{{partial "admin/templates/logs/site-customization-change-details"}}
|
2013-08-22 00:03:21 +08:00
|
|
|
{{/with}}
|
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'admin.logs.staff_actions.deleted'}}
|
2013-08-22 00:03:21 +08:00
|
|
|
{{/if}}
|
2013-08-21 22:49:35 +08:00
|
|
|
</div>
|
2016-05-07 04:04:38 +08:00
|
|
|
<div class="modal-tab previous-tab {{unless previousSelected 'invisible'}}">
|
2015-08-29 01:06:15 +08:00
|
|
|
{{#if model.previous_value}}
|
|
|
|
{{#with model.previous_value}}
|
2016-11-10 03:47:58 +08:00
|
|
|
{{partial "admin/templates/logs/site-customization-change-details"}}
|
2013-08-21 22:49:35 +08:00
|
|
|
{{/with}}
|
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'admin.logs.staff_actions.no_previous'}}
|
2013-08-21 22:49:35 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2014-12-09 05:35:49 +08:00
|
|
|
<button class='btn btn-primary' {{action "closeModal"}}>{{i18n 'close'}}</button>
|
2013-08-21 22:49:35 +08:00
|
|
|
</div>
|
2014-01-15 01:48:57 +08:00
|
|
|
</div>
|