diff options
| author | kaniini <ariadne@dereferenced.org> | 2019-11-09 17:38:45 +0000 |
|---|---|---|
| committer | kaniini <ariadne@dereferenced.org> | 2019-11-09 17:38:45 +0000 |
| commit | c873a18c64c995721e62399428205c451f8b4758 (patch) | |
| tree | 106417c3e17c7e38c6e0ed47bc7b8bd506a624be /src/components/staff_panel | |
| parent | 044c9ad0562af059dd961d50961a3880fca9c642 (diff) | |
| parent | a2a94c4b7b33611d97c61761de0cef85eb892bb1 (diff) | |
Merge branch 'feature/about-page' into 'develop'
Feature/about page
Closes #699
See merge request pleroma/pleroma-fe!985
Diffstat (limited to 'src/components/staff_panel')
| -rw-r--r-- | src/components/staff_panel/staff_panel.js | 14 | ||||
| -rw-r--r-- | src/components/staff_panel/staff_panel.vue | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/src/components/staff_panel/staff_panel.js b/src/components/staff_panel/staff_panel.js new file mode 100644 index 00000000..93e950ad --- /dev/null +++ b/src/components/staff_panel/staff_panel.js @@ -0,0 +1,14 @@ +import BasicUserCard from '../basic_user_card/basic_user_card.vue' + +const StaffPanel = { + components: { + BasicUserCard + }, + computed: { + staffAccounts () { + return this.$store.state.instance.staffAccounts + } + } +} + +export default StaffPanel diff --git a/src/components/staff_panel/staff_panel.vue b/src/components/staff_panel/staff_panel.vue new file mode 100644 index 00000000..1d13003d --- /dev/null +++ b/src/components/staff_panel/staff_panel.vue @@ -0,0 +1,23 @@ +<template> + <div class="staff-panel"> + <div class="panel panel-default base01-background"> + <div class="panel-heading timeline-heading base02-background"> + <div class="title"> + {{ $t("about.staff") }} + </div> + </div> + <div class="panel-body"> + <basic-user-card + v-for="user in staffAccounts" + :key="user.screen_name" + :user="user" + /> + </div> + </div> + </div> +</template> + +<script src="./staff_panel.js" ></script> + +<style lang="scss"> +</style> |
