<% if last_error && last_error.has_key?('timestamp') %> <%= _('%s ago') % time_ago_in_words(Time.at(last_error["timestamp"])) %> <% elsif !last_error.nil? && last_error.empty? %> <%= _('Enable "logs" feature on proxy to search for errors') %> <% else %> <%= _('None found') %> <% end %>