vendor/plugins/inquiries/app/views/admin/inquiries/_submenu.html.erb in refinerycms-0.9.7.9 vs vendor/plugins/inquiries/app/views/admin/inquiries/_submenu.html.erb in refinerycms-0.9.7.10
- old
+ new
@@ -1,17 +1,17 @@
<div id='actions'>
<ul>
<li>
- <%= render :partial => "/shared/admin/search", :locals => {:url => admin_inquiries_url} %>
+ <%= render :partial => "/shared/admin/search", :locals => {:url => request.path} %>
</li>
<li <%= "class='selected'" if params[:action] == "index" %>>
- <%= link_to "Inbox", admin_inquiries_url, :class => "email_icon" %>
+ <%= link_to t('.inbox'), admin_inquiries_url, :class => "email_icon" %>
</li>
<li <%= "class='selected'" if params[:action] == "spam" %>>
<% if @spam_count > 0 %>
- <%= link_to "Spam (#{@spam_count})", spam_admin_inquiries_url, :class => "spam_icon" %>
+ <%= link_to "#{t('.spam')} (#{@spam_count})", spam_admin_inquiries_url, :class => "spam_icon" %>
<% else %>
- <%= link_to "Spam", spam_admin_inquiries_url, :class => "spam_empty_icon" %>
+ <%= link_to t('.spam'), spam_admin_inquiries_url, :class => "spam_empty_icon" %>
<% end %>
</li>
<li>
<%= link_to t('.update_notified'),
edit_admin_inquiry_setting_url(InquirySetting.notification_recipients, :dialog => true, :height => 300),