2018-11-18 11:00:15 +05:30
|
|
|
<script>
|
|
|
|
import ProjectAvatarDefault from '~/vue_shared/components/project_avatar/default.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
ProjectAvatarDefault,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
project: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="context-header ide-context-header">
|
2019-01-03 12:48:30 +05:30
|
|
|
<a
|
|
|
|
:href="project.web_url"
|
|
|
|
:title="s__('IDE|Go to project')"
|
|
|
|
>
|
|
|
|
<project-avatar-default
|
|
|
|
:project="project"
|
|
|
|
:size="48"
|
|
|
|
/>
|
2018-11-18 11:00:15 +05:30
|
|
|
<span class="ide-sidebar-project-title">
|
2019-01-03 12:48:30 +05:30
|
|
|
<span class="sidebar-context-title">
|
|
|
|
{{ project.name }}
|
|
|
|
</span>
|
2018-11-18 11:00:15 +05:30
|
|
|
<span class="sidebar-context-title text-secondary">
|
|
|
|
{{ project.path_with_namespace }}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</template>
|