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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
2c31ebff
Commit
2c31ebff
authored
Jan 27, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add little spacing between milestone stats.
parent
46b5f83a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
app/assets/stylesheets/pages/milestone.scss
app/assets/stylesheets/pages/milestone.scss
+8
-0
app/views/projects/milestones/show.html.haml
app/views/projects/milestones/show.html.haml
+13
-10
No files found.
app/assets/stylesheets/pages/milestone.scss
View file @
2c31ebff
...
...
@@ -27,3 +27,11 @@ li.milestone {
margin-left
:
8px
;
}
}
.milestone-summary
{
margin-bottom
:
15px
;
}
.milestone-stat
{
margin-right
:
10px
;
}
app/views/projects/milestones/show.html.haml
View file @
2c31ebff
...
...
@@ -47,19 +47,22 @@
%span
All issues for this milestone are closed. You may close milestone now.
.context.prepend-top-default
%p
.lead
.milestone-summary
%h4
Progress
%strong
=
@milestone
.
issues
.
count
issues:
%strong
=
@milestone
.
open_items_count
open and
%strong
=
@milestone
.
closed_items_count
closed
%strong
==
#{
@milestone
.
percent_complete
}
%
complete
%span
.time-elapsed
%strong
==
#{
@milestone
.
percent_time_used
}
%
time elapsed
%span
.milestone-stat
%strong
=
@milestone
.
open_items_count
open and
%strong
=
@milestone
.
closed_items_count
closed
%span
.milestone-stat
%strong
==
#{
@milestone
.
percent_complete
}
%
complete
%span
.milestone-stat
%span
.time-elapsed
%strong
==
#{
@milestone
.
percent_time_used
}
%
time elapsed
%span
.pull-right
=
@milestone
.
expires_at
=
milestone_progress_bar
(
@milestone
)
...
...
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