<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %>
<% render(:layout => 'shared/edit_section',:locals => {:section_id => "forecast-held-jobs", :section_title => t(".held_jobs")}) do %> <% if @held_job_count > 0 %>

<%= t('forecasts.show.held_jobs_text', :count => @held_job_count) if @held_job_count > 1 || @held_job_count == 0 %> <%= t('forecasts.show.held_job_text', :count => @held_job_count) if @held_job_count == 1 %>

<% end %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "forecast-inactive-agents", :section_title => t(".agents")}) do %> <% if @inactive_agents_count > 0 %>

<%= t('forecasts.show.inactive_agents_text', :count => @inactive_agents_count) if @inactive_agents_count > 1 || @inactive_agents_count == 0 %> <%= t('forecasts.show.inactive_agent_text', :count => @inactive_agents_count) if @inactive_agents_count == 1 %>

<% end %> <% if @held_queues_count > 0 %>

<%= t('forecasts.show.held_queues_text', :count => @held_queues_count) if @held_queues_count > 1 || @held_queues_count == 0 %> <%= t('forecasts.show.held_queue_text', :count => @held_queues_count) if @held_queues_count == 1 %>

<% end %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "forecast-missing-jobs", :section_title => t("forecasts.missing_jobs.missing_jobs")}) do %> <% if @missing_jobs_count > 0 %>

<%= t('forecasts.show.missing_jobs_text', :count => @missing_jobs_count) if @missing_jobs_count > 1 || @missing_jobs_count == 0 %> <%= t('forecasts.show.missing_job_text', :count => @missing_jobs_count) if @missing_jobs_count == 1 %>

<% end %> <% end %> <% render(:layout => 'shared/edit_section',:locals => {:section_id => "forecast-messages", :section_title => t("forecasts.messages.messages")}) do %> <% if @messages_count > 0 %>

<%= t('forecasts.show.messages_text', :count => @messages_count) if @messages_count > 1 || @messages_count == 0 %> <%= t('forecasts.show.message_text', :count => @messages_count) if @messages_count == 1 %>

<% end %> <% end %>