Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-11-20 21:43:57 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-11-20 21:43:57 +0300
commit48b8a39f86dfea6b3de3c026d59da3b74080c440 (patch)
tree218f6b018c39d05098b8e514f99f0671bf7e9b9a /app/views/projects/issues/show.html.haml
parent859720e2d0f88dd330030295335a949c9428e31b (diff)
parent6c4f28026357993b5e09992cff8166a739d8cd23 (diff)
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.haml2
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