Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-29 13:05:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-29 13:05:17 +0400
commit3a8cd1fa59dc9d3ab0b00e0f01276e73b35a996c (patch)
tree9e1b10c5e7f5f949586278ef73be7c753fbcba93 /app/views/projects/graphs
parent6d0ddf45bada832a315d7f84b3cafd1a92beff34 (diff)
Refactor commits graph
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r--app/views/projects/graphs/commits.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/graphs/commits.html.haml b/app/views/projects/graphs/commits.html.haml
index 2b72bdfae21..a189a487135 100644
--- a/app/views/projects/graphs/commits.html.haml
+++ b/app/views/projects/graphs/commits.html.haml
@@ -3,26 +3,26 @@
%p.lead
Commits statistic for
%strong #{@repository.root_ref}
- #{@start_date.strftime('%b %d')} - #{@end_date.strftime('%b %d')}
+ #{@commits_graph.start_date.strftime('%b %d')} - #{@commits_graph.end_date.strftime('%b %d')}
.row
.col-md-6
%ul
%li
%p.lead
- %strong #{@commits.size}
+ %strong #{@commits_graph.commits.size}
commits during
- %strong #{@duration}
+ %strong #{@commits_graph.duration}
days
%li
%p.lead
Average
- %strong #{@commit_per_day}
+ %strong #{@commits_graph.commit_per_day}
commits per day
%li
%p.lead
Contributed by
- %strong #{@authors}
+ %strong #{@commits_graph.authors}
authors
.col-md-6
%div