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

abuse_report_app.vue « components « abuse_report « admin « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9355c1c788f6238a8fc4b69022ba169726b29230 (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
<script>
import ReportHeader from './report_header.vue';
import UserDetails from './user_details.vue';
import ReportedContent from './reported_content.vue';
import HistoryItems from './history_items.vue';

export default {
  name: 'AbuseReportApp',
  components: {
    ReportHeader,
    UserDetails,
    ReportedContent,
    HistoryItems,
  },
  props: {
    abuseReport: {
      type: Object,
      required: true,
    },
  },
};
</script>

<template>
  <section>
    <report-header
      v-if="abuseReport.user"
      :user="abuseReport.user"
      :actions="abuseReport.actions"
    />
    <user-details v-if="abuseReport.user" :user="abuseReport.user" />
    <reported-content :report="abuseReport.report" :reporter="abuseReport.reporter" />
    <history-items :report="abuseReport.report" :reporter="abuseReport.reporter" />
  </section>
</template>