summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/sha_mismatch.vue
blob: 89edf588213333ce28b4b461f391b3423c778acb (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
<script>
import statusIcon from '../mr_widget_status_icon.vue';

export default {
  name: 'ShaMismatch',
  components: {
    statusIcon,
  },
};
</script>

<template>
  <div class="mr-widget-body media">
    <status-icon :show-disabled-button="true" status="warning" />
    <div class="media-body space-children">
      <span class="bold" data-qa-selector="head_mismatch_content">
        {{
          s__(`mrWidget|The source branch HEAD has recently changed.
Please reload the page and review the changes before merging`)
        }}
      </span>
    </div>
  </div>
</template>