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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
552 B
Vue
Raw Normal View History

2020-03-13 15:44:24 +05:30
<script>
import { GlIcon, GlLink } from '@gitlab/ui';
export default {
components: {
GlIcon,
GlLink,
},
props: {
text: {
type: String,
required: true,
},
url: {
type: String,
required: true,
},
},
};
</script>
<template>
2021-04-29 21:17:54 +05:30
<div class="d-flex-center gl-flex-nowrap text-nowrap js-ide-status-mr">
2020-03-13 15:44:24 +05:30
<gl-icon name="merge-request" />
<span class="ml-1 d-none d-sm-block">{{ s__('WebIDE|Merge request') }}</span>
<gl-link class="ml-1" :href="url">{{ text }}</gl-link>
</div>
</template>