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
4511bc1f
Commit
4511bc1f
authored
Feb 19, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify milestones page
parent
b876793d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
18 deletions
+11
-18
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+5
-9
app/views/projects/milestones/index.html.haml
app/views/projects/milestones/index.html.haml
+5
-8
app/views/shared/_milestones_filter.html.haml
app/views/shared/_milestones_filter.html.haml
+1
-1
No files found.
app/views/projects/merge_requests/index.html.haml
View file @
4511bc1f
%h3
.page-title
Merge Requests
.pull-right
-
if
can?
current_user
,
:write_merge_request
,
@project
=
link_to
new_project_merge_request_path
(
@project
),
class:
"btn btn-new pull-left"
,
title:
"New Merge Request"
do
%i
.fa.fa-plus
New Merge Request
%hr
.merge-requests-holder
.append-bottom-10
.pull-right
-
if
can?
current_user
,
:write_merge_request
,
@project
=
link_to
new_project_merge_request_path
(
@project
),
class:
"btn btn-new pull-left"
,
title:
"New Merge Request"
do
%i
.fa.fa-plus
New Merge Request
=
render
'shared/issuable_filter'
.panel.panel-default
%ul
.well-list.mr-list
...
...
app/views/projects/milestones/index.html.haml
View file @
4511bc1f
.milestones_content
%h3
.page-title
Milestones
-
if
can?
current_user
,
:admin_milestone
,
@project
=
link_to
new_project_milestone_path
(
@project
),
class:
"pull-right btn btn-new"
,
title:
"New Milestone"
do
%i
.fa.fa-plus
New Milestone
.pull-right
-
if
can?
current_user
,
:admin_milestone
,
@project
=
link_to
new_project_milestone_path
(
@project
),
class:
"pull-right btn btn-new"
,
title:
"New Milestone"
do
%i
.fa.fa-plus
New Milestone
=
render
'shared/milestones_filter'
.milestones
...
...
app/views/shared/_milestones_filter.html.haml
View file @
4511bc1f
.milestones-filters.append-bottom-10
%ul
.nav.nav-
pills.nav-compact
%ul
.nav.nav-
tabs
%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