mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
and about page
This commit is contained in:
parent
7bc63d7b57
commit
557030231a
1 changed files with 9 additions and 6 deletions
|
@ -1,11 +1,14 @@
|
|||
<template lang="pug">
|
||||
v-container
|
||||
.edit(v-if='$auth.user && $auth.user.is_admin')
|
||||
Editor(v-if='$auth.user && $auth.user.is_admin'
|
||||
v-model='about')
|
||||
v-btn.float-right(color='success' plain
|
||||
@click='save') {{$t('common.save')}}
|
||||
div(v-else v-html='about')
|
||||
v-card
|
||||
v-card-title About
|
||||
v-card-text(v-if='$auth.user && $auth.user.is_admin')
|
||||
Editor(v-model='about')
|
||||
v-card-text(v-else v-html='about')
|
||||
v-card-actions
|
||||
v-spacer
|
||||
v-btn(color='primary' plain
|
||||
@click='save') {{$t('common.save')}}
|
||||
</template>
|
||||
<script>
|
||||
import Editor from '@/components/Editor'
|
||||
|
|
Loading…
Reference in a new issue