summaryrefslogtreecommitdiff
path: root/app/views/projects/notes
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-01 17:02:48 +0100
committerDouwe Maan <douwe@selenight.nl>2016-07-24 13:10:38 -0600
commit0ab8264ea622a1d38ab457b368804fad4cb003ca (patch)
tree54c2a54b945568d4c6259b27f00af56db6914792 /app/views/projects/notes
parent70b46b280c07807c4df0a0c2c8b71d725a60f8c7 (diff)
downloadgitlab-ce-0ab8264ea622a1d38ab457b368804fad4cb003ca.tar.gz
VueJS updates
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r--app/views/projects/notes/_note.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index beaae53992d..ed304aef4dc 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -22,7 +22,7 @@
%span.note-role.hidden-xs= access
- unless note.system
%resolve-btn{ ":note-id" => note.id, ":resolved" => "false", "inline-template" => true }
- %button.note-action-button.line-resolve-btn{ type: "button", "v-bind:class" => "{ 'is-active': isResolved }", "v-bind:aria-label" => "buttonText", "v-on:click" => "resolve", "v-bind:title" => "buttonText" }
+ %button.note-action-button.line-resolve-btn{ type: "button", ":class" => "{ 'is-active': isResolved }", ":aria-label" => "buttonText", "@click" => "resolve", ":title" => "buttonText" }
= icon("check")
- if current_user and not note.system
= link_to '#', title: 'Award Emoji', class: 'note-action-button note-emoji-button js-add-award js-note-emoji', data: { position: 'right' } do