diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-20 18:43:57 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-11-20 18:43:57 +0000 |
commit | 48b8a39f86dfea6b3de3c026d59da3b74080c440 (patch) | |
tree | 218f6b018c39d05098b8e514f99f0671bf7e9b9a /app/views/projects/issues/show.html.haml | |
parent | 859720e2d0f88dd330030295335a949c9428e31b (diff) | |
parent | 6c4f28026357993b5e09992cff8166a739d8cd23 (diff) | |
download | gitlab-ce-48b8a39f86dfea6b3de3c026d59da3b74080c440.tar.gz |
Merge branch '39497-inline-edit-issue-on-mobile' into 'master'
Add inline editing to issues on mobile
Closes #39497
See merge request gitlab-org/gitlab-ce!15438
Diffstat (limited to 'app/views/projects/issues/show.html.haml')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index c64eb506412..48410ffee21 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -40,7 +40,7 @@ .dropdown-menu.dropdown-menu-align-right.hidden-lg %ul - if can_update_issue - %li= link_to 'Edit', edit_project_issue_path(@project, @issue) + %li= link_to 'Edit', edit_project_issue_path(@project, @issue), class: '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 |