<%= link_to (module_link), :class => "see-all-results" do %> <% short_display_name = I18n.t("#{service_name}_search.short_display_name") %> <% if total == '1' %> <%= I18n.t("#{service_name}_search.see_all_message", :default => "See #{total} #{short_display_name} result") %> <% elsif total == '2' or total == '3' %> <%= I18n.t("#{service_name}_search.see_all_message", :default => "See #{total} #{short_display_name} results") %> <% else %> <%= I18n.t("#{service_name}_search.see_all_message", :default => "See all #{total} #{short_display_name} results") %> <% end %> <% end %>