search for: swf_bits_download_url

Displaying 1 result from an estimated 1 matches for "swf_bits_download_url".

2009 Jul 24
2
[PATCH server] Add fallback message when flexchart is missing
...raph_helper.rb index bb1f05b..c57ddda 100644 --- a/src/app/helpers/graph_helper.rb +++ b/src/app/helpers/graph_helper.rb @@ -1,5 +1,14 @@ module GraphHelper + def swf_is_present + File.exists?(Rails.root.join('public','swfs','flexchart.swf')) + end + + def swf_bits_download_url + "http://ovirt.org/flexchart/flexchart.swf" + end + + # generate some json for the snapshot graph def snapshot_graph_json(target, snapshots) data = snapshots[:avg][target] diff --git a/src/app/views/graph/history_graphs.rhtml b/src/app/views/graph/history_gra...