From dbf3c85f739e25dd2cfbbb95dd17bfa1db60d7f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Fri, 16 Nov 2018 14:41:26 +0100 Subject: [PATCH] MOBILE-1486 user: Add online status to the user profile --- .../course/addon-competency-course.html | 2 +- .../pages/competency/competency.html | 4 +- src/addon/competency/pages/plan/plan.html | 2 +- .../contacts/addon-messages-contacts.html | 2 +- .../addon-messages-discussions.html | 4 +- .../addon-mod-assign-submission.html | 6 +-- .../submission-list/submission-list.html | 2 +- src/addon/mod/chat/pages/chat/chat.html | 2 +- src/addon/mod/chat/pages/users/users.html | 2 +- .../index/addon-mod-choice-index.html | 2 +- .../mod/feedback/pages/attempt/attempt.html | 2 +- .../pages/nonrespondents/nonrespondents.html | 2 +- .../pages/respondents/respondents.html | 2 +- .../index/addon-mod-forum-index.html | 4 +- .../components/post/addon-mod-forum-post.html | 2 +- src/addon/mod/glossary/pages/entry/entry.html | 2 +- .../index/addon-mod-lesson-index.html | 2 +- .../lesson/pages/user-retake/user-retake.html | 2 +- .../addon-mod-workshop-assessment.html | 2 +- .../addon-mod-workshop-submission.html | 6 +-- .../workshop/pages/assessment/assessment.html | 4 +- .../workshop/pages/submission/submission.html | 4 +- .../components/list/addon-notes-list.html | 2 +- src/addon/notifications/pages/list/list.html | 2 +- src/app/app.scss | 1 + .../user-avatar/core-user-avatar.html | 3 +- src/components/user-avatar/user-avatar.scss | 2 +- src/components/user-avatar/user-avatar.ts | 38 ++++++++----------- src/core/comments/pages/viewer/viewer.html | 2 +- .../pages/course-preview/course-preview.html | 2 +- src/core/mainmenu/pages/more/more.html | 2 +- .../participants/core-user-participants.html | 2 +- src/core/user/pages/profile/profile.html | 5 +-- src/core/user/pages/profile/profile.scss | 22 ++++++++++- 34 files changed, 78 insertions(+), 67 deletions(-) diff --git a/src/addon/competency/components/course/addon-competency-course.html b/src/addon/competency/components/course/addon-competency-course.html index 2bf0cce65..dc9954809 100644 --- a/src/addon/competency/components/course/addon-competency-course.html +++ b/src/addon/competency/components/course/addon-competency-course.html @@ -28,7 +28,7 @@

{{ 'addon.competency.competencies' | translate }}

- +

diff --git a/src/addon/competency/pages/competency/competency.html b/src/addon/competency/pages/competency/competency.html index 060264283..c6980360c 100644 --- a/src/addon/competency/pages/competency/competency.html +++ b/src/addon/competency/pages/competency/competency.html @@ -10,7 +10,7 @@ - +

@@ -73,7 +73,7 @@

- +

{{ evidence.actionuser.fullname }}

{{ evidence.timemodified | coreToLocaleString }}

diff --git a/src/addon/competency/pages/plan/plan.html b/src/addon/competency/pages/plan/plan.html index 8b368ae8f..f434688db 100644 --- a/src/addon/competency/pages/plan/plan.html +++ b/src/addon/competency/pages/plan/plan.html @@ -10,7 +10,7 @@ - +

diff --git a/src/addon/messages/components/contacts/addon-messages-contacts.html b/src/addon/messages/components/contacts/addon-messages-contacts.html index 8ee810583..acf4e4028 100644 --- a/src/addon/messages/components/contacts/addon-messages-contacts.html +++ b/src/addon/messages/components/contacts/addon-messages-contacts.html @@ -19,7 +19,7 @@ - +

diff --git a/src/addon/messages/components/discussions/addon-messages-discussions.html b/src/addon/messages/components/discussions/addon-messages-discussions.html index eaf478467..c43a1c08f 100644 --- a/src/addon/messages/components/discussions/addon-messages-discussions.html +++ b/src/addon/messages/components/discussions/addon-messages-discussions.html @@ -17,7 +17,7 @@ {{ search.results.length }} - +

@@ -25,7 +25,7 @@ - +

diff --git a/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html b/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html index e0dfbf922..adc60f8de 100644 --- a/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html +++ b/src/addon/mod/assign/components/submission/addon-mod-assign-submission.html @@ -2,7 +2,7 @@ - +

{{ user.fullname }}

@@ -111,7 +111,7 @@

{{ 'addon.mod_assign.userswhoneedtosubmit' | translate: {$a: ''} }}

- +

{{ user.fullname }}

@@ -209,7 +209,7 @@ - +

{{ 'addon.mod_assign.gradedby' | translate }}

{{ grader.fullname }}

{{ feedback.gradeddate * 1000 | coreFormatDate:"dfmediumdate" }}

diff --git a/src/addon/mod/assign/pages/submission-list/submission-list.html b/src/addon/mod/assign/pages/submission-list/submission-list.html index 3df9c921f..36d502c74 100644 --- a/src/addon/mod/assign/pages/submission-list/submission-list.html +++ b/src/addon/mod/assign/pages/submission-list/submission-list.html @@ -18,7 +18,7 @@
- +

{{submission.userfullname}}

{{ 'addon.mod_assign.hiddenuser' | translate }}{{submission.blindid}}

diff --git a/src/addon/mod/chat/pages/chat/chat.html b/src/addon/mod/chat/pages/chat/chat.html index 52fe5ab1a..02eb8e71a 100644 --- a/src/addon/mod/chat/pages/chat/chat.html +++ b/src/addon/mod/chat/pages/chat/chat.html @@ -38,7 +38,7 @@

- +

{{ message.timestamp * 1000 | coreFormatDate:"dftimedate" }}

diff --git a/src/addon/mod/chat/pages/users/users.html b/src/addon/mod/chat/pages/users/users.html index f31b4429a..815715335 100644 --- a/src/addon/mod/chat/pages/users/users.html +++ b/src/addon/mod/chat/pages/users/users.html @@ -11,7 +11,7 @@ - +