summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_not_allowed.vue
blob: 536e61e57d31eb4c315f8c9789c1c5d637b9b36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<script>
import { s__ } from '~/locale';
import BoldText from '~/vue_merge_request_widget/components/bold_text.vue';
import StatusIcon from '../mr_widget_status_icon.vue';

const message = s__(
  'mrWidget|%{boldStart}Ready to be merged automatically.%{boldEnd} Ask someone with write access to this repository to merge this request.',
);

export default {
  name: 'MRWidgetNotAllowed',
  message,
  components: {
    BoldText,
    StatusIcon,
  },
};
</script>

<template>
  <div class="mr-widget-body media">
    <status-icon status="success" />
    <div class="media-body space-children">
      <bold-text :message="$options.message" />
    </div>
  </div>
</template>