mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
follow me / fedi export only if enabled
This commit is contained in:
parent
df39f1aeb5
commit
b1084a569f
3 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
#links
|
||||
a(href='https://gancio.org') Gancio {{settings.version}}</a>
|
||||
span ⇒
|
||||
a(rel='me' :href='settings.baseurl' @click.prevent='showFollowMe=true') follow me
|
||||
a(v-if='settings.enable_federation' rel='me' :href='settings.baseurl' @click.prevent='showFollowMe=true') follow me
|
||||
nuxt-link(to='/about') about
|
||||
a(href='https://blog.gancio.org') blog
|
||||
a(href='https://framagit.org/les/gancio') source
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
v-clipboard:copy='link' v-clipboard:success='copyLink'
|
||||
type="primary" icon='el-icon-document' ) {{$t("common.copy")}}
|
||||
|
||||
el-tab-pane.pt-1(:label="$t('common.fediverse')" name='fediverse')
|
||||
el-tab-pane.pt-1(v-if='settings.enable_federation' :label="$t('common.fediverse')" name='fediverse')
|
||||
FollowMe
|
||||
|
||||
el-tab-pane.pt-1(label='ics/ical' name='ics')
|
||||
|
|
|
@ -175,6 +175,7 @@ const eventController = {
|
|||
async getUnconfirmed (req, res) {
|
||||
const events = await Event.findAll({
|
||||
where: {
|
||||
parentId: null,
|
||||
is_visible: false
|
||||
},
|
||||
order: [['start_datetime', 'ASC']],
|
||||
|
|
Loading…
Reference in a new issue