diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-12-19 17:48:29 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-12-19 17:48:29 +0000 |
commit | 271ebe661103b4b523ae9e50f755df9a7aeedb1d (patch) | |
tree | 7eb22c5d8f6ff5c0a87c2ab66eb2fc15dd19138c /app/views/projects/issues | |
parent | 76f3ee2feb8c2b42d625261e3fd3f6adbfcb56b4 (diff) | |
download | gitlab-ce-271ebe661103b4b523ae9e50f755df9a7aeedb1d.tar.gz |
Show inline edit button for issues
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index eab7879c7bf..1f28d8acff6 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -39,8 +39,6 @@ = icon('caret-down') .dropdown-menu.dropdown-menu-align-right.hidden-lg %ul - - if can_update_issue - %li= link_to 'Edit', edit_project_issue_path(@project, @issue), class: 'js-issuable-edit' - unless current_user == @issue.author %li= link_to 'Report abuse', new_abuse_report_path(user_id: @issue.author.id, ref_url: issue_url(@issue)) - if can_update_issue @@ -52,9 +50,6 @@ %li.divider %li= link_to 'New issue', new_project_issue_path(@project), title: 'New issue', id: 'new_issue_link' - - if can_update_issue - = link_to 'Edit', edit_project_issue_path(@project, @issue), class: 'hidden-xs hidden-sm btn btn-grouped js-issuable-edit' - = render 'shared/issuable/close_reopen_button', issuable: @issue, can_update: can_update_issue - if can_report_spam |