Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app.vue « components « show « organizations « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4cd5ada1d66589c264a2d601012b1a0797e9151d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<script>
import OrganizationAvatar from './organization_avatar.vue';
import OrganizationDescription from './organization_description.vue';
import GroupsAndProjects from './groups_and_projects.vue';
import AssociationCounts from './association_counts.vue';

export default {
  name: 'OrganizationShowApp',
  components: { OrganizationAvatar, OrganizationDescription, GroupsAndProjects, AssociationCounts },
  props: {
    organization: {
      type: Object,
      required: true,
    },
    groupsAndProjectsOrganizationPath: {
      type: String,
      required: true,
    },
    associationCounts: {
      type: Object,
      required: true,
    },
  },
};
</script>

<template>
  <div class="gl-py-6">
    <organization-avatar :organization="organization" />
    <organization-description :organization="organization" />
    <association-counts
      :association-counts="associationCounts"
      :groups-and-projects-organization-path="groupsAndProjectsOrganizationPath"
    />
    <groups-and-projects
      :groups-and-projects-organization-path="groupsAndProjectsOrganizationPath"
    />
  </div>
</template>