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
cf36509a
Commit
cf36509a
authored
Sep 04, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style dashboard milestones page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
0362a0f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
app/views/dashboard/milestones/index.html.haml
app/views/dashboard/milestones/index.html.haml
+12
-11
app/views/shared/_milestones_filter.html.haml
app/views/shared/_milestones_filter.html.haml
+2
-2
No files found.
app/views/dashboard/milestones/index.html.haml
View file @
cf36509a
-
page_title
"Milestones"
-
header_title
"Milestones"
,
dashboard_milestones_path
%p
.light
List all milestones from all projects you have access to.
=
render
'shared/milestones_filter'
.gray-content-block
.oneline
List all milestones from all projects you have access to.
.milestones
.panel.panel-default
%ul
.well-list
-
if
@dashboard_milestones
.
blank?
%li
.nothing-here-block
No milestones to show
-
else
-
@dashboard_milestones
.
each
do
|
milestone
|
=
render
'milestone'
,
milestone:
milestone
%ul
.content-list
-
if
@dashboard_milestones
.
blank?
%li
.nothing-here-block
No milestones to show
-
else
-
@dashboard_milestones
.
each
do
|
milestone
|
=
render
'milestone'
,
milestone:
milestone
=
paginate
@dashboard_milestones
,
theme:
"gitlab"
app/views/shared/_milestones_filter.html.haml
View file @
cf36509a
.milestones-filters
.append-bottom-10
%ul
.
nav.nav-tabs
.milestones-filters
%ul
.
center-top-menu
%li
{
class:
(
"active"
if
params
[
:state
].
blank?
||
params
[
:state
]
==
'opened'
)}
=
link_to
milestones_filter_path
(
state:
'opened'
)
do
%i
.fa.fa-exclamation-circle
...
...
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