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
Show 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 {
...
@@ -27,3 +27,11 @@ li.milestone {
margin-left
:
8px
;
margin-left
:
8px
;
}
}
}
}
.milestone-summary
{
margin-bottom
:
15px
;
}
.milestone-stat
{
margin-right
:
10px
;
}
app/views/projects/milestones/show.html.haml
View file @
2c31ebff
...
@@ -47,16 +47,19 @@
...
@@ -47,16 +47,19 @@
%span
All issues for this milestone are closed. You may close milestone now.
%span
All issues for this milestone are closed. You may close milestone now.
.context.prepend-top-default
.context.prepend-top-default
%p
.lead
.milestone-summary
%h4
Progress
%h4
Progress
%strong
=
@milestone
.
issues
.
count
%strong
=
@milestone
.
issues
.
count
issues:
issues:
%span
.milestone-stat
%strong
=
@milestone
.
open_items_count
%strong
=
@milestone
.
open_items_count
open and
open and
%strong
=
@milestone
.
closed_items_count
%strong
=
@milestone
.
closed_items_count
closed
closed
%span
.milestone-stat
%strong
==
#{
@milestone
.
percent_complete
}
%
%strong
==
#{
@milestone
.
percent_complete
}
%
complete
complete
%span
.milestone-stat
%span
.time-elapsed
%span
.time-elapsed
%strong
==
#{
@milestone
.
percent_time_used
}
%
%strong
==
#{
@milestone
.
percent_time_used
}
%
time elapsed
time elapsed
...
...
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