% unless @error %>
<% 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 %>