Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
96058605
Commit
96058605
authored
Feb 23, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show some stats about Milestone according to the new UI.
parent
3c157b6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
app/views/dashboard/milestones/show.html.haml
app/views/dashboard/milestones/show.html.haml
+13
-5
app/views/groups/milestones/show.html.haml
app/views/groups/milestones/show.html.haml
+13
-5
No files found.
app/views/dashboard/milestones/show.html.haml
View file @
96058605
...
@@ -41,11 +41,19 @@
...
@@ -41,11 +41,19 @@
=
milestone
.
expires_at
=
milestone
.
expires_at
.context
.context
%p
.lead
.milestone-summary
Progress:
%h4
Progress
#{
@milestone
.
closed_items_count
}
closed
%strong
=
@milestone
.
issues
.
size
–
issues:
#{
@milestone
.
open_items_count
}
open
%span
.milestone-stat
%strong
=
@milestone
.
opened_issues
.
size
open and
%strong
=
@milestone
.
closed_issues
.
size
closed
%span
.milestone-stat
%strong
==
#{
@milestone
.
percent_complete
}
%
complete
=
milestone_progress_bar
(
@milestone
)
=
milestone_progress_bar
(
@milestone
)
%ul
.nav-links.no-top.no-bottom
%ul
.nav-links.no-top.no-bottom
...
...
app/views/groups/milestones/show.html.haml
View file @
96058605
...
@@ -47,11 +47,19 @@
...
@@ -47,11 +47,19 @@
=
milestone
.
expires_at
=
milestone
.
expires_at
.context
.context
%p
.lead
.milestone-summary
Progress:
%h4
Progress
#{
@milestone
.
closed_items_count
}
closed
%strong
=
@milestone
.
issues
.
size
–
issues:
#{
@milestone
.
open_items_count
}
open
%span
.milestone-stat
%strong
=
@milestone
.
opened_issues
.
size
open and
%strong
=
@milestone
.
closed_issues
.
size
closed
%span
.milestone-stat
%strong
==
#{
@milestone
.
percent_complete
}
%
complete
=
milestone_progress_bar
(
@milestone
)
=
milestone_progress_bar
(
@milestone
)
%ul
.nav-links.no-top.no-bottom
%ul
.nav-links.no-top.no-bottom
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment