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:
authorDouwe Maan <douwe@selenight.nl>2016-07-21 01:18:18 +0300
committerDouwe Maan <douwe@selenight.nl>2016-07-21 01:18:18 +0300
commit79214be727aaa0704a1be5b50aa6dd3011629bc2 (patch)
tree8be3ad3775acebb43b114cd90a8fc919097a7b2c /app/views/discussions/_notes.html.haml
parent5a77eb153669bfbac4ab1f05615d11965beb826d (diff)
Add Discussion model to represent MR/diff discussion
Diffstat (limited to 'app/views/discussions/_notes.html.haml')
-rw-r--r--app/views/discussions/_notes.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/discussions/_notes.html.haml b/app/views/discussions/_notes.html.haml
new file mode 100644
index 00000000000..a2642b839f6
--- /dev/null
+++ b/app/views/discussions/_notes.html.haml
@@ -0,0 +1,5 @@
+.panel.panel-default
+ .notes{ data: { discussion_id: discussion.id } }
+ %ul.notes.timeline
+ = render partial: "projects/notes/note", collection: discussion.notes, as: :note
+ = link_to_reply_discussion(discussion)