Welcome to mirror list, hosted at ThFree Co, Russian Federation.

empty_state.vue « commit_sidebar « components « ide « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ef9d9fd60489bf53aa2016a35af2b49c029bd087 (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
<script>
// eslint-disable-next-line no-restricted-imports
import { mapState } from 'vuex';

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

<template>
  <div v-if="!lastCommitMsg" class="multi-file-commit-panel-section ide-commit-empty-state">
    <div class="ide-commit-empty-state-container">
      <div class="svg-content svg-80"><img :src="noChangesStateSvgPath" /></div>
      <div class="gl-mr-3 gl-ml-3">
        <div class="text-content text-center">
          <h4>{{ __('No changes') }}</h4>
          <p>{{ __('Edit files in the editor and commit changes here') }}</p>
        </div>
      </div>
    </div>
  </div>
</template>