summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_sha_mismatch.js
blob: 89f38e5bd2a02019b9e43952c3c2f765e390e957 (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';

export default {
  name: 'MRWidgetSHAMismatch',
  components: {
    statusIcon,
  },
  template: `
    <div class="mr-widget-body media">
      <status-icon status="failed" showDisabledButton />
      <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>
  `,
};