summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_locked.js
blob: 0bd31731a0b051f5faf8d192d8730d76bd3bc5bc (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
export default {
  name: 'MRWidgetLocked',
  props: {
    mr: { type: Object, required: true },
  },
  template: `
    <div class="mr-widget-body mr-state-locked">
      <span class="state-label">Locked</span>
      This merge request is in the process of being merged, during which time it is locked and cannot be closed.
      <i
        class="fa fa-spinner fa-spin"
        aria-hidden="true" />
      <section class="mr-info-list mr-links">
        <div class="legend"></div>
        <p>
          The changes will be merged into
          <span class="label-branch">
            <a :href="mr.targetBranchPath">{{mr.targetBranch}}</a>
          </span>.
        </p>
      </section>
    </div>
  `,
};