<% if @hw.blank? || !@hw.switch? %>
Now
 
<%end%>
<% if @hw.present? && @hw.switch? %>
<%else%>
<%end%>
<% if @hw.present? && @hw.switch? %>

Throughput

Switch throughput chart
<%else%>
Upload
<%end%>