app/views/admin/review_settings/show.html.erb in spree_reviews-0.30.0 vs app/views/admin/review_settings/show.html.erb in spree_reviews-0.50.0
- old
+ new
@@ -3,14 +3,14 @@
<h1><%= t("reviews.review_settings") %></h1>
<table>
<tr>
<th scope="row"><%= t("reviews.include_unapproved") %>:</th>
- <td><%= Spree::Reviews::Config[:include_unapproved_reviews] %></td>
+ <td><%= Spree::Reviews::Config[:include_unapproved_reviews] ? t('yes') : t('no') %></td>
</tr>
<tr>
<th scope="row"><%= t("reviews.preview_size") %>:</th>
- <td><%= Spree::Reviews::Config[:preview_size] %></td>
+ <td><%= Spree::Reviews::Config[:preview_size] %></td>
</tr>
</table>
<p>
<%= link_to_with_icon('edit', t("edit"), edit_admin_review_settings_path) %>