Commit 0faec0a1 authored by Savas Vedova's avatar Savas Vedova

Merge branch 'gl-button-empty-issue-placeholder' into 'master'

Apply new GitLab UI for buttons in empty issue placeholder

See merge request gitlab-org/gitlab!53554
parents 287cd0bd 508b6f39
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- can_edit = can?(current_user, :admin_project, @project) - can_edit = can?(current_user, :admin_project, @project)
.dropdown.btn-group .dropdown.btn-group
%button.btn.gl-button.rounded-right.text-center{ class: ('has-tooltip' if type == :icon), title: (_('Import issues') if type == :icon), %button.btn.gl-button.btn-default.rounded-right.text-center{ class: ('has-tooltip' if type == :icon), title: (_('Import issues') if type == :icon),
data: { toggle: 'dropdown', qa_selector: 'import_issues_button' }, 'aria-label' => _('Import issues'), 'aria-haspopup' => 'true', 'aria-expanded' => 'false' } data: { toggle: 'dropdown', qa_selector: 'import_issues_button' }, 'aria-label' => _('Import issues'), 'aria-haspopup' => 'true', 'aria-expanded' => 'false' }
- if type == :icon - if type == :icon
= sprite_icon('import') = sprite_icon('import')
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
- if project_select_button - if project_select_button
= render 'shared/new_project_item_select', path: 'issues/new', label: _('New issue'), type: :issues, with_feature_enabled: 'issues' = render 'shared/new_project_item_select', path: 'issues/new', label: _('New issue'), type: :issues, with_feature_enabled: 'issues'
- else - else
= link_to _('New issue'), button_path, class: 'btn btn-success', id: 'new_issue_link' = link_to _('New issue'), button_path, class: 'btn gl-button btn-success', id: 'new_issue_link'
- if show_import_button - if show_import_button
= render 'projects/issues/import_csv/button', type: :text = render 'projects/issues/import_csv/button', type: :text
......
---
title: Apply new GitLab UI for buttons in empty issue placeholder
merge_request: 53554
author: Yogi (@yo)
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment