Remove unnecessary extra margin on issues, mr and todo pages

This commit is contained in:
Oswaldo Ferreira 2017-01-26 11:22:16 -02:00
parent 6a5a5d0ec0
commit 27a794914e
5 changed files with 40 additions and 47 deletions

View file

@ -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'

View file

@ -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'

View file

@ -67,15 +67,14 @@
= sort_title_oldest_created
.prepend-top-default
- if @todos.any?
- 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?
- elsif current_user.todos.any?
.todos-all-done
= render "shared/empty_states/todos_all_done.svg"
- if todos_filter_empty?
@ -91,7 +90,7 @@
- else
%h4.text-center
There are no todos to show.
- else
- else
.todos-empty
.todos-empty-hero
= render "shared/empty_states/todos_empty.svg"

View file

@ -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'
- else
= render 'shared/empty_states/issues', project_select_button: true

View file

@ -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'