Commit ff4a5178 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'patch-94' into 'master'

Remove tooltip from New issue button on issue page and project issues list page and project empty issues list page

See merge request gitlab-org/gitlab!28261
parents dd8e9087 71ea7020
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
issue: { assignee_id: finder.assignee.try(:id), issue: { assignee_id: finder.assignee.try(:id),
milestone_id: finder.milestones.first.try(:id) }), milestone_id: finder.milestones.first.try(:id) }),
class: "btn btn-success", class: "btn btn-success",
title: _("New issue"),
id: "new_issue_link" id: "new_issue_link"
- if show_export_button - if show_export_button
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
- if can_create_issue - if can_create_issue
- if can_update_issue || can_report_spam - if can_update_issue || can_report_spam
%li.divider %li.divider
%li= link_to 'New issue', new_project_issue_path(@project), title: 'New issue', id: 'new_issue_link' %li= link_to 'New issue', new_project_issue_path(@project), id: 'new_issue_link'
= render 'shared/issuable/close_reopen_button', issuable: @issue, can_update: can_update_issue, can_reopen: can_reopen_issue = render 'shared/issuable/close_reopen_button', issuable: @issue, can_update: can_update_issue, can_reopen: can_reopen_issue
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
= _("To widen your search, change or remove filters above") = _("To widen your search, change or remove filters above")
- if show_new_issue_link?(@project) - if show_new_issue_link?(@project)
.text-center .text-center
= link_to _("New issue"), new_project_issue_path(@project), class: "btn btn-success", title: _("New issue"), id: "new_issue_body_link" = link_to _("New issue"), new_project_issue_path(@project), class: "btn btn-success", id: "new_issue_body_link"
- elsif is_opened_state && opened_issues_count == 0 && closed_issues_count > 0 - elsif is_opened_state && opened_issues_count == 0 && closed_issues_count > 0
%h4.text-center %h4.text-center
= _("There are no open issues") = _("There are no open issues")
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
= _("To keep this project going, create a new issue") = _("To keep this project going, create a new issue")
- if show_new_issue_link?(@project) - if show_new_issue_link?(@project)
.text-center .text-center
= link_to _("New issue"), new_project_issue_path(@project), class: "btn btn-success", title: _("New issue"), id: "new_issue_body_link" = link_to _("New issue"), new_project_issue_path(@project), class: "btn btn-success", id: "new_issue_body_link"
- elsif is_closed_state && opened_issues_count > 0 && closed_issues_count == 0 - elsif is_closed_state && opened_issues_count > 0 && closed_issues_count == 0
%h4.text-center %h4.text-center
= _("There are no closed issues") = _("There are no closed issues")
...@@ -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', title: _('New issue'), id: 'new_issue_link' = link_to _('New issue'), button_path, class: 'btn 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: Remove new issue tooltip
merge_request: 28261
author: Victor Wu
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