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:
authorMehdi Lahmam <mehdi@lahmam.com>2017-08-10 09:42:28 +0300
committerMehdi Lahmam <mehdi@lahmam.com>2017-08-11 23:02:35 +0300
commit6e3ca79dedbe27f64d12dbf391d0823137dcc610 (patch)
tree4b9f6fe2b0fcedf950207d3f6bf59ca018a041b9 /app/views/projects/cycle_analytics
parent4e8a2feb718face21a6024540c7bfd2bccd6ea25 (diff)
Add a `Last 7 days` option for Cycle Analytics view
Diffstat (limited to 'app/views/projects/cycle_analytics')
-rw-r--r--app/views/projects/cycle_analytics/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/cycle_analytics/show.html.haml b/app/views/projects/cycle_analytics/show.html.haml
index c704635ead3..3467e357c49 100644
--- a/app/views/projects/cycle_analytics/show.html.haml
+++ b/app/views/projects/cycle_analytics/show.html.haml
@@ -40,6 +40,9 @@
%i.fa.fa-chevron-down
%ul.dropdown-menu.dropdown-menu-align-right
%li
+ %a{ "href" => "#", "data-value" => "7" }
+ {{ n__('Last %d day', 'Last %d days', 7) }}
+ %li
%a{ "href" => "#", "data-value" => "30" }
{{ n__('Last %d day', 'Last %d days', 30) }}
%li