aboutsummaryrefslogtreecommitdiff
path: root/src/components/announcement/announcement.vue
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2022-03-17 17:32:16 -0400
committertusooa <tusooa@kazv.moe>2022-11-24 18:27:14 -0500
commit458ce5414363f37df94ebbc672dad784ad8fa1ee (patch)
tree25c108e8a04e52715c2d95db75181722b3d7e77a /src/components/announcement/announcement.vue
parent1972e57ceb78dd3f4de329e19a933888b7f01da8 (diff)
Mark inactive and active announcements for admin
Diffstat (limited to 'src/components/announcement/announcement.vue')
-rw-r--r--src/components/announcement/announcement.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/announcement/announcement.vue b/src/components/announcement/announcement.vue
index 1e4edcca..f3b73d89 100644
--- a/src/components/announcement/announcement.vue
+++ b/src/components/announcement/announcement.vue
@@ -35,6 +35,8 @@
v-if="currentUser"
class="btn button-default"
:class="{ toggled: isRead }"
+ :disabled="inactive"
+ :title="inactive ? $t('announcements.inactive_message') : ''"
@click="markAsRead"
>
{{ $t('announcements.mark_as_read_action') }}