You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/07/15 20:21:36 UTC
[airavata-django-portal] branch master updated: Fixing the notice
management to show both read and unread notifications. Unread notifications
have a button that user can use to mark them as read.
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 5cfac88 Fixing the notice management to show both read and unread notifications. Unread notifications have a button that user can use to mark them as read.
new d15e792 Merge pull request #30 from shivamriky/fix_notices
5cfac88 is described below
commit 5cfac886494975351da65dc1564fbbf729dc1a25
Author: Shivam Rastogi <sh...@yahoo.com>
AuthorDate: Mon Jul 15 11:00:56 2019 -0400
Fixing the notice management to show both read and unread notifications. Unread notifications have a button that user can use to mark them as read.
---
.../static/common/js/components/GatewayNoticesContainer.vue | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/django_airavata/static/common/js/components/GatewayNoticesContainer.vue b/django_airavata/static/common/js/components/GatewayNoticesContainer.vue
index 8849679..21a6713 100644
--- a/django_airavata/static/common/js/components/GatewayNoticesContainer.vue
+++ b/django_airavata/static/common/js/components/GatewayNoticesContainer.vue
@@ -41,7 +41,7 @@
class="notification-title text-wrap"
:class="textColor(notice)"
>{{ notice.title }}</span>
- <a
+ <a v-if="!notice.is_read"
class="fas fa-dot-circle"
data-toggle="tooltip"
data-placement="left"
@@ -93,9 +93,8 @@ export default {
},
computed: {
unreadNotices() {
- return this.notices.filter(n => !n.is_read);
+ return this.notices;
}
}
};
</script>
-