aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-10-21 00:31:16 +0300
committerHenry Jameson <me@hjkos.com>2020-10-21 00:31:16 +0300
commitf561e755530063b2e8e0db210264b1d244543bd0 (patch)
tree986f3ca8b95b0cfa48725e970204d1e402ff12ad /src/components/notification/notification.vue
parent1ec41302f729ac9100c3ec0cede5e4f79dd626a3 (diff)
lint
Diffstat (limited to 'src/components/notification/notification.vue')
-rw-r--r--src/components/notification/notification.vue33
1 files changed, 26 insertions, 7 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index 857727a4..b609ae04 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -18,7 +18,10 @@
href="#"
class="unmute"
@click.prevent="toggleMute"
- ><FAIcon class="button-icon" icon="eye-slash" /></a>
+ ><FAIcon
+ class="button-icon"
+ icon="eye-slash"
+ /></a>
</div>
<div
v-else
@@ -60,26 +63,39 @@
:title="'@'+notification.from_profile.screen_name"
>{{ notification.from_profile.name }}</span>
<span v-if="notification.type === 'like'">
- <FAIcon class="type-icon" icon="star" />
+ <FAIcon
+ class="type-icon"
+ icon="star"
+ />
<small>{{ $t('notifications.favorited_you') }}</small>
</span>
<span v-if="notification.type === 'repeat'">
<FAIcon
- class="type-icon" icon="retweet"
+ class="type-icon"
+ icon="retweet"
:title="$t('tool_tip.repeat')"
/>
<small>{{ $t('notifications.repeated_you') }}</small>
</span>
<span v-if="notification.type === 'follow'">
- <FAIcon class="type-icon" icon="user-plus" />
+ <FAIcon
+ class="type-icon"
+ icon="user-plus"
+ />
<small>{{ $t('notifications.followed_you') }}</small>
</span>
<span v-if="notification.type === 'follow_request'">
- <FAIcon class="type-icon" icon="user" />
+ <FAIcon
+ class="type-icon"
+ icon="user"
+ />
<small>{{ $t('notifications.follow_request') }}</small>
</span>
<span v-if="notification.type === 'move'">
- <FAIcon class="type-icon" icon="suitcase-rolling" />
+ <FAIcon
+ class="type-icon"
+ icon="suitcase-rolling"
+ />
<small>{{ $t('notifications.migrated_to') }}</small>
</span>
<span v-if="notification.type === 'pleroma:emoji_reaction'">
@@ -120,7 +136,10 @@
v-if="needMute"
href="#"
@click.prevent="toggleMute"
- ><FAIcon class="button-icon" icon="eye-slash" /></a>
+ ><FAIcon
+ class="button-icon"
+ icon="eye-slash"
+ /></a>
</span>
<div
v-if="notification.type === 'follow' || notification.type === 'follow_request'"