summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-12-07 17:22:35 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-12-07 17:22:35 +0000
commit37450e5178ce35e35bef0bfa7ec564c18f626177 (patch)
tree2117fa44e5728c0855484884cacba5c6b7fc0db9
parent61edc8e51e181d2215e404e97eec620c6515647c (diff)
downloadgitlab-ce-37450e5178ce35e35bef0bfa7ec564c18f626177.tar.gz
Update merge request empty state
-rw-r--r--app/views/shared/empty_states/_merge_requests.html.haml15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/shared/empty_states/_merge_requests.html.haml b/app/views/shared/empty_states/_merge_requests.html.haml
index 67f906903e9..488ea7ed6c9 100644
--- a/app/views/shared/empty_states/_merge_requests.html.haml
+++ b/app/views/shared/empty_states/_merge_requests.html.haml
@@ -6,17 +6,18 @@
.col-xs-12
.svg-content
= image_tag 'illustrations/merge_requests.svg'
- .col-xs-12.text-center
+ .col-xs-12
.text-content
- if has_button
%h4
- Merge requests are a place to propose changes you've made to a project and discuss those changes with others.
+ Merge requests are a place to propose changes you've made to a project and discuss those changes with others
%p
Interested parties can even contribute by pushing commits if they want to.
- - if project_select_button
- = render 'shared/new_project_item_select', path: 'merge_requests/new', label: 'New merge request', type: :merge_requests
- - else
- = link_to 'New merge request', button_path, class: 'btn btn-new', title: 'New merge request', id: 'new_merge_request_link'
+ .text-center
+ - if project_select_button
+ = render 'shared/new_project_item_select', path: 'merge_requests/new', label: 'New merge request', type: :merge_requests
+ - else
+ = link_to 'New merge request', button_path, class: 'btn btn-new', title: 'New merge request', id: 'new_merge_request_link'
- else
%h4.text-center
- There are no merge requests to show.
+ There are no merge requests to show