debian-mirror-gitlab/app/assets/javascripts/ide/components/nav_form.vue

35 lines
773 B
Vue
Raw Normal View History

2018-11-18 11:00:15 +05:30
<script>
import Tabs from '~/vue_shared/components/tabs/tabs';
import Tab from '~/vue_shared/components/tabs/tab.vue';
import BranchesSearchList from './branches/search_list.vue';
import MergeRequestSearchList from './merge_requests/list.vue';
export default {
components: {
Tabs,
Tab,
BranchesSearchList,
MergeRequestSearchList,
},
};
</script>
<template>
2019-02-15 15:39:39 +05:30
<div class="ide-nav-form p-0">
<tabs stop-propagation>
<tab active>
2018-11-18 11:00:15 +05:30
<template slot="title">
{{ __('Merge Requests') }}
</template>
<merge-request-search-list />
</tab>
<tab>
<template slot="title">
{{ __('Branches') }}
</template>
<branches-search-list />
</tab>
</tabs>
</div>
</template>