summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.js
blob: 1d9f9863dd9b3578988c25d4fa123d64c6b7d58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export default {
  name: 'MRWidgetMergeHelp',
  props: {
    missingBranch: { type: String, required: false, default: '' },
  },
  template: `
    <section class="mr-widget-help">
      <template
        v-if="missingBranch">
        If the {{missingBranch}} branch exists in your local repository, you
      </template>
      <template v-else>
        You
      </template>
      can merge this merge request manually using the
      <a
        data-toggle="modal"
        href="#modal_merge_info">
        command line
      </a>
    </section>
  `,
};