summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/components/commit_sidebar/success_message.vue
blob: a6df91b79c23873bddeecef6ac5852d76fd64ed7 (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
25
26
27
28
29
30
31
32
33
<script>
import { mapState } from 'vuex';

export default {
  computed: {
    ...mapState(['lastCommitMsg', 'committedStateSvgPath']),
  },
};
</script>

<template>
  <div
    class="multi-file-commit-panel-success-message"
    aria-live="assertive"
  >
    <div class="svg-content svg-80">
      <img
        :src="committedStateSvgPath"
        alt=""
      />
    </div>
    <div class="append-right-default prepend-left-default">
      <div
        class="text-content text-center"
      >
        <h4>
          {{ __('All changes are committed') }}
        </h4>
        <p v-html="lastCommitMsg"></p>
      </div>
    </div>
  </div>
</template>