Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
3ea7627e
Commit
3ea7627e
authored
Oct 20, 2019
by
les
Browse files
[feat] federation settings
parent
0b546b3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pages/event/_id.vue
View file @
3ea7627e
...
...
@@ -48,12 +48,14 @@
hr
//- comments from fediverse
#comments(v-if='settings.enable_federation')
small.float-right 🔖
{{
event
.
likes
.
length
}}
small.float-right.mr-3 ✊
{{
event
.
boost
.
length
}}
<br/>
strong
{{
$tc
(
'
common.comments
'
,
event
.
comments
.
length
)
}}
-
<small>
{{
$t
(
'
event.interact_with_me_at
'
)
}}
<u>
{{
fedi_user
}}
@
{{
settings
.
baseurl
|
url2host
}}
</u></small>
div.float-right(v-if='!settings.disable_gamification')
small.mr-3 🔖
{{
event
.
likes
.
length
}}
small ✊
{{
event
.
boost
.
length
}}
<br/>
.card-header(v-for='comment in event.comments' :key='comment.id')
strong(v-if='settings.enable_comments')
{{
$tc
(
'
common.comments
'
,
event
.
comments
.
length
)
}}
-
small
{{
$t
(
'
event.interact_with_me_at
'
)
}}
<u>
{{
fedi_user
}}
@
{{
settings
.
baseurl
|
url2host
}}
</u>
.card-header(v-if='settings.enable_comments' v-for='comment in event.comments' :key='comment.id')
a.float-right(:href='comment.data.url')
small
{{
comment
.
data
.
published
|
datetime
}}
div.mt-1(v-html='comment_filter(comment.data.content)')
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment