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:
authorPhil Hughes <me@iamphill.com>2016-07-14 16:28:58 +0300
committerDouwe Maan <douwe@selenight.nl>2016-07-24 22:12:58 +0300
commitc1fe066b4b0d822950ec67179c11ca19f3de5dd6 (patch)
tree2957ce09f45361510d23c02834ec536c0893adad /app/views/discussions/_parallel_diff_discussion.html.haml
parent43131802a97da44bcef0f9c54e0724b9af62a206 (diff)
Added resolve button to discussions
Top count displays how many resolved discussions
Diffstat (limited to 'app/views/discussions/_parallel_diff_discussion.html.haml')
-rw-r--r--app/views/discussions/_parallel_diff_discussion.html.haml14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/views/discussions/_parallel_diff_discussion.html.haml b/app/views/discussions/_parallel_diff_discussion.html.haml
index a798c438ea0..2ac85699417 100644
--- a/app/views/discussions/_parallel_diff_discussion.html.haml
+++ b/app/views/discussions/_parallel_diff_discussion.html.haml
@@ -5,7 +5,12 @@
%ul.notes{ data: { discussion_id: discussion_left.id } }
= render partial: "projects/notes/note", collection: discussion_left.notes, as: :note
- = link_to_reply_discussion(discussion_left, 'old')
+ .discussion-reply-holder
+ .btn-group-justified.discussion-with-resolve-btn{ role: "group" }
+ .btn-group{ role: "group" }
+ = link_to_reply_discussion(note_left, 'old')
+ .btn-group{ role: "group" }
+ = render "projects/notes/discussions/resolve_all", note: note_left
- else
%td.notes_line.old= ""
%td.notes_content.parallel.old= ""
@@ -16,7 +21,12 @@
%ul.notes{ data: { discussion_id: discussion_right.id } }
= render partial: "projects/notes/note", collection: discussion_right.notes, as: :note
- = link_to_reply_discussion(discussion_right, 'new')
+ .discussion-reply-holder
+ .btn-group-justified.discussion-with-resolve-btn{ role: "group" }
+ .btn-group{ role: "group" }
+ = link_to_reply_discussion(note_right, 'new')
+ .btn-group{ role: "group" }
+ = render "projects/notes/discussions/resolve_all", note: note_right
- else
%td.notes_line.new= ""
%td.notes_content.parallel.new= ""