<% unless @error %>

<%= @dashboard.name %> <%= @dashboard.description %>

<% row = 1 %> <% @graphs.in_groups_of(@graph_columns) do |graphrows| %> <% graphrows.each do |graph| %> <% end %> <% row += 1 %> <% end %>
<% if graph %> <% img_base_url = [@top_level[@params[:category]].graphite_render, graph[:url]].join "?" %> <% graphlot_url = URI.parse(img_base_url).tap{|x| x.path = "/graphlot/"}.to_s %> <%# We have to doubly-escape the title and description. The first escape will allow both the values %> <%# to safely fit in the attribute (which prevents injecting HTML around the img tag). The second escape <%# prevents using those properties to inject HTML into the popover itself. %> <% end %>
<% end %>