From 8e87c836734a1fb9a8b99aa5badb7e98cd3a4e32 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 29 Jun 2019 18:09:40 +0530 Subject: [PATCH 1/9] Unread counter added in popver --- .../client/models/UserServiceAccount.js | 10 +++++ .../views/serviceAccountSidebarLogin.html | 41 +++++++++++-------- .../views/serviceAccountSidebarLogin.js | 35 ++++++++-------- app/service-accounts/server/index.js | 1 + .../methods/getLinkedServiceAccounts.js | 22 ++++++++++ .../publications/userServiceAccounts.js | 18 ++++++-- 6 files changed, 88 insertions(+), 39 deletions(-) create mode 100644 app/models/client/models/UserServiceAccount.js create mode 100644 app/service-accounts/server/methods/getLinkedServiceAccounts.js diff --git a/app/models/client/models/UserServiceAccount.js b/app/models/client/models/UserServiceAccount.js new file mode 100644 index 000000000000..39cf7a87b2bd --- /dev/null +++ b/app/models/client/models/UserServiceAccount.js @@ -0,0 +1,10 @@ +import { Base } from './_Base'; + +class UserServiceAccount extends Base { + constructor() { + super(); + this._initModel('user_service_account'); + } +} + +export default new UserServiceAccount(); \ No newline at end of file diff --git a/app/service-accounts/client/views/serviceAccountSidebarLogin.html b/app/service-accounts/client/views/serviceAccountSidebarLogin.html index 4fc8970a3fe3..4f04350952c0 100644 --- a/app/service-accounts/client/views/serviceAccountSidebarLogin.html +++ b/app/service-accounts/client/views/serviceAccountSidebarLogin.html @@ -1,26 +1,31 @@