debian-mirror-gitlab/app/assets/javascripts/notes/components/discussion_locked_widget.vue

23 lines
506 B
Vue
Raw Normal View History

2018-03-17 18:26:18 +05:30
<script>
2018-05-09 12:01:36 +05:30
import Icon from '~/vue_shared/components/icon.vue';
import Issuable from '~/vue_shared/mixins/issuable';
2018-03-17 18:26:18 +05:30
2018-05-09 12:01:36 +05:30
export default {
components: {
Icon,
},
mixins: [Issuable],
};
2018-03-17 18:26:18 +05:30
</script>
<template>
<div class="disabled-comment text-center">
<span class="issuable-note-warning inline">
2019-02-15 15:39:39 +05:30
<icon :size="16" name="lock" class="icon" />
2018-03-17 18:26:18 +05:30
<span>
This {{ issuableDisplayName }} is locked. Only <b>project members</b> can comment.
</span>
</span>
</div>
</template>