gitlab-org--gitlab-foss/app/views/projects/pipelines/charts/_pipeline_times.haml

11 lines
384 B
Text
Raw Normal View History

- content_for :page_specific_javascripts do
= webpack_bundle_tag('pipelines_times')
%div
%p.light
= _("Commit duration in minutes for last 30 commits")
2015-08-25 21:42:46 -04:00
%canvas#build_timesChart{ height: 200 }
2015-08-25 21:42:46 -04:00
%script#pipelinesTimesChartsData{ type: "application/json" }= { :labels => @charts[:pipeline_times].labels, :values => @charts[:pipeline_times].pipeline_times }.to_json.html_safe