Skip to content
Snippets Groups Projects

Prepare common Vue app for Repository header area

All threads resolved!
4 files
+ 66
56
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -119,35 +119,38 @@ export default {
</script>
<template>
<section class="gl-flex gl-flex-col gl-items-stretch gl-gap-5 sm:gl-flex-row">
<ref-selector
class="gl-max-w-26"
:project-id="projectId"
:value="refSelectorValue"
use-symbolic-ref-names
:query-params="refSelectorQueryParams"
@input="onInput"
/>
<breadcrumbs
:current-path="currentPath"
:ref-type="getRefType"
:can-collaborate="canCollaborate"
:can-edit-tree="canEditTree"
:can-push-code="canPushCode"
:original-branch="originalBranch"
:selected-branch="selectedBranch"
:new-branch-path="newBranchPath"
:new-tag-path="newTagPath"
:new-blob-path="newBlobPath"
:fork-new-blob-path="forkNewBlobPath"
:fork-new-directory-path="forkNewDirectoryPath"
:fork-upload-blob-path="forkUploadBlobPath"
:upload-path="uploadPath"
:new-dir-path="newDirPath"
/>
<section class="nav-block gl-flex gl-flex-col gl-items-stretch sm:gl-flex-row">
<div class="tree-ref-container mb-2 mb-md-0 gl-flex gl-flex-wrap gl-gap-2">
<ref-selector
class="tree-ref-holder gl-max-w-26"
:project-id="projectId"
:value="refSelectorValue"
use-symbolic-ref-names
:query-params="refSelectorQueryParams"
@input="onInput"
/>
<breadcrumbs
class="js-repo-breadcrumbs"
:current-path="currentPath"
:ref-type="getRefType"
:can-collaborate="canCollaborate"
:can-edit-tree="canEditTree"
:can-push-code="canPushCode"
:original-branch="originalBranch"
:selected-branch="selectedBranch"
:new-branch-path="newBranchPath"
:new-tag-path="newTagPath"
:new-blob-path="newBlobPath"
:fork-new-blob-path="forkNewBlobPath"
:fork-new-directory-path="forkNewDirectoryPath"
:fork-upload-blob-path="forkUploadBlobPath"
:upload-path="uploadPath"
:new-dir-path="newDirPath"
/>
</div>
<!-- Tree controls -->
<div v-if="isTreeView" class="gl-mb-3 gl-flex gl-flex-wrap gl-gap-3 sm:gl-mb-0">
<div v-if="isTreeView" class="tree-controls gl-mb-3 gl-flex gl-flex-wrap gl-gap-3 sm:gl-mb-0">
<!-- EE: = render_if_exists 'projects/tree/lock_link' -->
<gl-button
v-if="comparePath"
Loading