FIX: staff action logs details were not showing up

This commit is contained in:
Arpit Jalan 2015-08-28 22:36:15 +05:30
parent 8a52cc9725
commit 92a2dd3ee3
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<div class="modal-body">
<pre>{{details}}</pre>
<pre>{{model.details}}</pre>
</div>
<div class="modal-footer">
<button class='btn btn-primary' {{action "closeModal"}}>{{i18n 'close'}}</button>

View File

@ -9,8 +9,8 @@
</ul>
<div class="modal-body">
<div {{bind-attr class=":modal-tab :new-tab newSelected::invisible"}}>
{{#if new_value}}
{{#with new_value}}
{{#if model.new_value}}
{{#with model.new_value}}
{{partial "admin/templates/logs/site_customization_change_details"}}
{{/with}}
{{else}}
@ -18,8 +18,8 @@
{{/if}}
</div>
<div {{bind-attr class=":modal-tab :previous-tab previousSelected::invisible"}}>
{{#if previous_value}}
{{#with previous_value}}
{{#if model.previous_value}}
{{#with model.previous_value}}
{{partial "admin/templates/logs/site_customization_change_details"}}
{{/with}}
{{else}}