summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/components/discussion_locked_widget.vue
blob: c469a6b7bcd7eebfaac8c8a89089d1ea57b3e38c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script>
import Icon from '~/vue_shared/components/icon.vue';
import Issuable from '~/vue_shared/mixins/issuable';

export default {
  components: {
    Icon,
  },
  mixins: [Issuable],
};
</script>

<template>
  <div class="disabled-comment text-center">
    <span class="issuable-note-warning inline">
      <icon :size="16" name="lock" class="icon" />
      <span>
        This {{ issuableDisplayName }} is locked. Only <b>project members</b> can comment.
      </span>
    </span>
  </div>
</template>