summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_sha_mismatch.js
blob: 142ddf477f1d1c114c0f4a876b6d51b2af213162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import statusIcon from '../mr_widget_status_icon.vue';

export default {
  name: 'MRWidgetSHAMismatch',
  components: {
    statusIcon,
  },
  template: `
    <div class="mr-widget-body media">
      <status-icon status="warning" :show-disabled-button="true" />
      <div class="media-body space-children">
        <span class="bold">
          The source branch HEAD has recently changed. Please reload the page and review the changes before merging
        </span>
      </div>
    </div>
  `,
};