summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs/ci/_builds.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/graphs/ci/_builds.haml')
-rw-r--r--app/views/projects/graphs/ci/_builds.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/graphs/ci/_builds.haml b/app/views/projects/graphs/ci/_builds.haml
index 8fca07114fa..a8fd0b9ee8b 100644
--- a/app/views/projects/graphs/ci/_builds.haml
+++ b/app/views/projects/graphs/ci/_builds.haml
@@ -1,29 +1,29 @@
-%h4 Build charts
+%h4 构建图表
%p
 
%span.cgreen
= icon("circle")
- success
+ 成功
 
%span.cgray
= icon("circle")
- all
+ 所有
.prepend-top-default
%p.light
- Builds for last week
+ 上周构建图表
(#{date_from_to(Date.today - 7.days, Date.today)})
%canvas#weekChart{height: 200}
.prepend-top-default
%p.light
- Builds for last month
+ 上月构建图表
(#{date_from_to(Date.today - 30.days, Date.today)})
%canvas#monthChart{height: 200}
.prepend-top-default
%p.light
- Builds for last year
+ 去年构建图表
%canvas#yearChart.padded{height: 250}
- [:week, :month, :year].each do |scope|