debian-mirror-gitlab/app/assets/javascripts/pages/projects/forks/new/components/app.vue

78 lines
1.6 KiB
Vue
Raw Normal View History

2021-04-17 20:07:23 +05:30
<script>
import ForkForm from './fork_form.vue';
export default {
components: {
ForkForm,
},
props: {
forkIllustration: {
type: String,
required: true,
},
endpoint: {
type: String,
required: true,
},
projectFullPath: {
type: String,
required: true,
},
projectId: {
type: String,
required: true,
},
projectName: {
type: String,
required: true,
},
projectPath: {
type: String,
required: true,
},
projectDescription: {
type: String,
required: true,
},
projectVisibility: {
type: String,
required: true,
},
2021-09-04 01:27:46 +05:30
restrictedVisibilityLevels: {
type: Array,
required: true,
},
2021-04-17 20:07:23 +05:30
},
};
</script>
<template>
<div class="row gl-mt-5">
<div class="col-lg-3">
<img :src="forkIllustration" />
<h4 class="">{{ s__('ForkProject|Fork project') }}</h4>
<p>
{{ s__('ForkProject|A fork is a copy of a project.') }}
<br />
{{
s__(
'ForkProject|Forking a repository allows you to make changes without affecting the original project.',
)
}}
</p>
</div>
<div class="col-lg-9">
<fork-form
:endpoint="endpoint"
:project-full-path="projectFullPath"
:project-id="projectId"
:project-name="projectName"
:project-path="projectPath"
:project-description="projectDescription"
:project-visibility="projectVisibility"
2021-09-04 01:27:46 +05:30
:restricted-visibility-levels="restrictedVisibilityLevels"
2021-04-17 20:07:23 +05:30
/>
</div>
</div>
</template>