Skip to content

Commit

Permalink
Added code to render 'no events' message
Browse files Browse the repository at this point in the history
  • Loading branch information
parthaa committed Jan 5, 2012
1 parent b137634 commit ec0e305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/controllers/system_events_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def items
if items && !items.empty?
render_to_string(:partial => 'more_events', :locals => {:cycle_extra => false, :system => @system, :tasks=> items})
else
""
"<tr><td>" + _("No events matching your search criteria.") + "</td></tr>"
end
end
search = params[:search]
Expand Down

0 comments on commit ec0e305

Please sign in to comment.