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:
authorRubén Dávila <rdavila84@gmail.com>2016-02-25 23:23:34 +0300
committerRubén Dávila <rdavila84@gmail.com>2016-03-02 03:40:50 +0300
commit77731802199f0af523745572720bdbacdb57e804 (patch)
treee5d49ab2ff124dedac8640d7e7c5f724f66f955b /app/views/projects/milestones
parent6aa50165b0acc355925e271f07ef8e87291e0232 (diff)
Show days remaining instead of elapsed time for Milestone.
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r--app/views/projects/milestones/show.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index 631bc8c3e9d..2cae1ac4e2c 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -60,9 +60,7 @@
%strong== #{@milestone.percent_complete}%
complete
%span.milestone-stat
- %span.time-elapsed
- %strong== #{@milestone.percent_time_used}%
- time elapsed
+ %span.remaining-days= milestone_remaining_days(@milestone)
%span.pull-right.tab-issues-buttons
- if can?(current_user, :create_issue, @project)
= link_to new_namespace_project_issue_path(@project.namespace, @project, issue: { milestone_id: @milestone.id }), class: "btn btn-grouped", title: "New Issue" do