debian-mirror-gitlab/app/assets/javascripts/diffs/components/commit_widget.vue

39 lines
893 B
Vue
Raw Normal View History

2018-12-05 23:21:45 +05:30
<script>
import CommitItem from './commit_item.vue';
/**
* CommitWidget
*
* -----------------------------------------------------------------
* WARNING: Please keep changes up-to-date with the following files:
* - `views/projects/merge_requests/diffs/_commit_widget.html.haml`
* -----------------------------------------------------------------
*
* This Component was cloned from a HAML view. For the time being,
* they coexist, but there is an issue to remove the duplication.
* https://gitlab.com/gitlab-org/gitlab-ce/issues/51613
*
*/
export default {
components: {
CommitItem,
},
props: {
commit: {
type: Object,
required: true,
},
},
};
</script>
<template>
2019-02-15 15:39:39 +05:30
<div class="info-well w-100">
2018-12-05 23:21:45 +05:30
<div class="well-segment">
<ul class="blob-commit-info">
2019-02-15 15:39:39 +05:30
<commit-item :commit="commit" />
2018-12-05 23:21:45 +05:30
</ul>
</div>
</div>
</template>