debian-mirror-gitlab/app/assets/javascripts/diffs/components/file_row_stats.vue
2019-02-13 22:33:31 +05:30

23 lines
360 B
Vue

<script>
export default {
props: {
file: {
type: Object,
required: true,
},
},
};
</script>
<template>
<span v-once class="file-row-stats">
<span class="cgreen"> +{{ file.addedLines }} </span>
<span class="cred"> -{{ file.removedLines }} </span>
</span>
</template>
<style>
.file-row-stats {
font-size: 12px;
}
</style>