2018-12-09 13:21:20 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2019-04-02 16:08:03 +00:00
|
|
|
<nav class="breadcrumb is-large" aria-label="breadcrumbs">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<a>org</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="ownerLink('org', orgname)">{{orgname}}</router-link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-12-09 13:21:20 +00:00
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
2019-03-30 12:15:43 +00:00
|
|
|
<li :class="[{ 'is-active': $route.name === 'org projects' || $route.name === 'org' }]">
|
2019-05-06 11:43:15 +00:00
|
|
|
<router-link :to="ownerProjectsLink('org', orgname)">
|
|
|
|
<span class="icon is-small">
|
|
|
|
<i class="mdi mdi-home"/>
|
|
|
|
</span>
|
|
|
|
<span>Projects</span>
|
|
|
|
</router-link>
|
2018-12-09 13:21:20 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-03-30 12:15:43 +00:00
|
|
|
<router-view></router-view>
|
2018-12-09 13:21:20 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2019-03-30 12:15:43 +00:00
|
|
|
import { ownerLink, ownerProjectsLink } from "@/util/link.js";
|
|
|
|
|
2018-12-09 13:21:20 +00:00
|
|
|
export default {
|
|
|
|
name: "Org",
|
2019-04-02 16:27:28 +00:00
|
|
|
components: {},
|
2018-12-09 13:21:20 +00:00
|
|
|
props: {
|
2019-03-30 12:15:43 +00:00
|
|
|
orgname: String
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
ownerLink: ownerLink,
|
|
|
|
ownerProjectsLink: ownerProjectsLink
|
2018-12-09 13:21:20 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
@import "@/css/_variables.scss";
|
|
|
|
|
|
|
|
.org-title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 5px;
|
|
|
|
margin-bottom: 25px;
|
|
|
|
.org-name {
|
2019-03-30 12:15:43 +00:00
|
|
|
color: $grey-dark;
|
2018-12-09 13:21:20 +00:00
|
|
|
padding-left: 5px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|