2018-11-08 19:23:39 +05:30
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
total: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
visible: {
|
|
|
|
type: Number,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
plainDiffPath: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
emailPatchPath: {
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
<h4>
|
|
|
|
{{ __('Too many changes to show.') }}
|
|
|
|
<div class="pull-right">
|
2019-02-15 15:39:39 +05:30
|
|
|
<a :href="plainDiffPath" class="btn btn-sm"> {{ __('Plain diff') }} </a>
|
|
|
|
<a :href="emailPatchPath" class="btn btn-sm"> {{ __('Email patch') }} </a>
|
2018-11-08 19:23:39 +05:30
|
|
|
</div>
|
|
|
|
</h4>
|
|
|
|
<p>
|
2019-02-15 15:39:39 +05:30
|
|
|
To preserve performance only <strong> {{ visible }} of {{ total }} </strong> files are
|
|
|
|
displayed.
|
2018-11-08 19:23:39 +05:30
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</template>
|