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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
27a79491
Commit
27a79491
authored
Jan 26, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary extra margin on issues, mr and todo pages
parent
6a5a5d0e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
47 deletions
+40
-47
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+1
-3
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/merge_requests.html.haml
+1
-3
app/views/dashboard/todos/index.html.haml
app/views/dashboard/todos/index.html.haml
+36
-37
app/views/groups/issues.html.haml
app/views/groups/issues.html.haml
+1
-2
app/views/groups/merge_requests.html.haml
app/views/groups/merge_requests.html.haml
+1
-2
No files found.
app/views/dashboard/issues.html.haml
View file @
27a79491
...
...
@@ -15,6 +15,4 @@
=
render
'shared/new_project_item_select'
,
path:
'issues/new'
,
label:
"New Issue"
=
render
'shared/issuable/filter'
,
type: :issues
.prepend-top-default
=
render
'shared/issues'
=
render
'shared/issues'
app/views/dashboard/merge_requests.html.haml
View file @
27a79491
...
...
@@ -7,6 +7,4 @@
=
render
'shared/new_project_item_select'
,
path:
'merge_requests/new'
,
label:
"New Merge Request"
=
render
'shared/issuable/filter'
,
type: :merge_requests
.prepend-top-default
=
render
'shared/merge_requests'
=
render
'shared/merge_requests'
app/views/dashboard/todos/index.html.haml
View file @
27a79491
...
...
@@ -67,41 +67,40 @@
=
sort_title_oldest_created
.prepend-top-default
-
if
@todos
.
any?
.js-todos-options
{
data:
{
per_page:
@todos
.
limit_value
,
current_page:
@todos
.
current_page
,
total_pages:
@todos
.
total_pages
}
}
.panel.panel-default.panel-small.panel-without-border
%ul
.content-list.todos-list
=
render
@todos
=
paginate
@todos
,
theme:
"gitlab"
-
if
@todos
.
any?
.js-todos-options
{
data:
{
per_page:
@todos
.
limit_value
,
current_page:
@todos
.
current_page
,
total_pages:
@todos
.
total_pages
}
}
.panel.panel-default.panel-small.panel-without-border
%ul
.content-list.todos-list
=
render
@todos
=
paginate
@todos
,
theme:
"gitlab"
-
elsif
current_user
.
todos
.
any?
.todos-all-done
=
render
"shared/empty_states/todos_all_done.svg"
-
if
todos_filter_empty?
%h4
.text-center
=
Gitlab
.
config
.
gitlab
.
no_todos_messages
.
sample
%p
.text-center
Are you looking for things to do? Take a look at
=
succeed
","
do
=
link_to
"the opened issues"
,
issues_dashboard_path
contribute to
=
link_to
"merge requests"
,
merge_requests_dashboard_path
or mention someone in a comment to assign a new todo automatically.
-
else
%h4
.text-center
There are no todos to show.
-
else
.todos-empty
.todos-empty-hero
=
render
"shared/empty_states/todos_empty.svg"
.todos-empty-content
%h4
Todos let you see what you should do next.
%p
When an issue or merge request is assigned to you, or when you
%strong
@mention
in a comment, this will trigger a new item in your todo list, automatically.
%p
You will always know what to work on next.
-
elsif
current_user
.
todos
.
any?
.todos-all-done
=
render
"shared/empty_states/todos_all_done.svg"
-
if
todos_filter_empty?
%h4
.text-center
=
Gitlab
.
config
.
gitlab
.
no_todos_messages
.
sample
%p
.text-center
Are you looking for things to do? Take a look at
=
succeed
","
do
=
link_to
"the opened issues"
,
issues_dashboard_path
contribute to
=
link_to
"merge requests"
,
merge_requests_dashboard_path
or mention someone in a comment to assign a new todo automatically.
-
else
%h4
.text-center
There are no todos to show.
-
else
.todos-empty
.todos-empty-hero
=
render
"shared/empty_states/todos_empty.svg"
.todos-empty-content
%h4
Todos let you see what you should do next.
%p
When an issue or merge request is assigned to you, or when you
%strong
@mention
in a comment, this will trigger a new item in your todo list, automatically.
%p
You will always know what to work on next.
app/views/groups/issues.html.haml
View file @
27a79491
...
...
@@ -23,7 +23,6 @@
-
if
current_user
To see all issues you should visit
#{
link_to
'dashboard'
,
issues_dashboard_path
}
page.
.prepend-top-default
=
render
'shared/issues'
=
render
'shared/issues'
-
else
=
render
'shared/empty_states/issues'
,
project_select_button:
true
app/views/groups/merge_requests.html.haml
View file @
27a79491
...
...
@@ -15,5 +15,4 @@
-
if
current_user
To see all merge requests you should visit
#{
link_to
'dashboard'
,
merge_requests_dashboard_path
}
page.
.prepend-top-default
=
render
'shared/merge_requests'
=
render
'shared/merge_requests'
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