mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 14:33:49 +08:00
34 lines
1.2 KiB
Handlebars
34 lines
1.2 KiB
Handlebars
<div>
|
|
<ul class="nav nav-pills">
|
|
<li class="{{if newSelected 'active'}}">
|
|
<a href {{action "selectNew"}}>{{i18n 'admin.logs.staff_actions.new_value'}}</a>
|
|
</li>
|
|
<li class="{{if previousSelected 'active'}}">
|
|
<a href {{action "selectPrevious"}}>{{i18n 'admin.logs.staff_actions.previous_value'}}</a>
|
|
</li>
|
|
</ul>
|
|
<div class="modal-body">
|
|
<div class="modal-tab new-tab {{unless newSelected 'invisible'}}">
|
|
{{#if model.new_value}}
|
|
{{#with model.new_value}}
|
|
{{partial "admin/templates/logs/site-customization-change-details"}}
|
|
{{/with}}
|
|
{{else}}
|
|
{{i18n 'admin.logs.staff_actions.deleted'}}
|
|
{{/if}}
|
|
</div>
|
|
<div class="modal-tab previous-tab {{unless previousSelected 'invisible'}}">
|
|
{{#if model.previous_value}}
|
|
{{#with model.previous_value}}
|
|
{{partial "admin/templates/logs/site-customization-change-details"}}
|
|
{{/with}}
|
|
{{else}}
|
|
{{i18n 'admin.logs.staff_actions.no_previous'}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button class='btn btn-primary' {{action "closeModal"}}>{{i18n 'close'}}</button>
|
|
</div>
|
|
</div>
|