summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-09-27 15:46:09 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-09-27 15:46:09 +0100
commita510d9bdfb3d5a524a62388980cfa0a552bbefb7 (patch)
treec939544b544646a94ef7b8af2a54144a689afc93 /app/assets/javascripts/notes
parent1ae29851d0f7e18933029c46d560bbc3adca4357 (diff)
downloadgitlab-ce-a510d9bdfb3d5a524a62388980cfa0a552bbefb7.tar.gz
Correct disabled note form style18608-lock-issues
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r--app/assets/javascripts/notes/components/issue_discussion_locked_widget.vue9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/components/issue_discussion_locked_widget.vue b/app/assets/javascripts/notes/components/issue_discussion_locked_widget.vue
index fa2ff6e5c58..f0429b82aaa 100644
--- a/app/assets/javascripts/notes/components/issue_discussion_locked_widget.vue
+++ b/app/assets/javascripts/notes/components/issue_discussion_locked_widget.vue
@@ -1,6 +1,10 @@
<script>
export default {
- name: 'discussionLockedWidget',
+ computed: {
+ icon() {
+ return gl.utils.spriteIcon('lock');
+ },
+ },
};
</script>
@@ -8,7 +12,8 @@
<template>
<div class="disabled-comment text-center">
<span class="issuable-note-warning">
- This issue is locked. Only <b>project members</b> can comment.
+ <span class="icon" v-html="icon"></span>
+ <span>This issue is locked. Only <b>project members</b> can comment.</span>
</span>
</div>
</template>