gitlab-org--gitlab-foss/app/views/projects/pipelines/charts/_pipeline_times.haml
2017-07-27 15:03:04 +02:00

10 lines
384 B
Text

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