summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs/commits.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/graphs/commits.html.haml')
-rw-r--r--app/views/projects/graphs/commits.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/graphs/commits.html.haml b/app/views/projects/graphs/commits.html.haml
index 254a76e108b..141acbdcf72 100644
--- a/app/views/projects/graphs/commits.html.haml
+++ b/app/views/projects/graphs/commits.html.haml
@@ -1,9 +1,11 @@
- page_title "Commit statistics"
+.tree-ref-holder
+ = render 'shared/ref_switcher', destination: 'graphs_commits'
= render 'head'
%p.lead
Commit statistics for
- %strong #{@repository.root_ref}
+ %strong #{@ref}
#{@commits_graph.start_date.strftime('%b %d')} - #{@commits_graph.end_date.strftime('%b %d')}
.row