diff --git a/src/addons/mod/forum/components/index/index.html b/src/addons/mod/forum/components/index/index.html index d449f4cdd..62bffc7ff 100644 --- a/src/addons/mod/forum/components/index/index.html +++ b/src/addons/mod/forum/components/index/index.html @@ -93,7 +93,7 @@ [linkProfile]="false">
- {{discussion.userfullname}} + {{discussion.userfullname}}

diff --git a/src/addons/mod/forum/components/index/index.scss b/src/addons/mod/forum/components/index/index.scss index 02e6267fd..c89233e8f 100644 --- a/src/addons/mod/forum/components/index/index.scss +++ b/src/addons/mod/forum/components/index/index.scss @@ -6,6 +6,16 @@ color: var(--core-star-color); } + .core-discussionusername { + font-size: 1.2em; + } + + .core-groupname { + display: flex; + align-items: center; + gap: 4px; + } + .addon-mod-forum-discussion.item { ion-label { margin-top: 4px; diff --git a/src/addons/mod/forum/components/post/post.html b/src/addons/mod/forum/components/post/post.html index 8536431c5..3e3b2048f 100644 --- a/src/addons/mod/forum/components/post/post.html +++ b/src/addons/mod/forum/components/post/post.html @@ -30,16 +30,18 @@ [courseId]="courseId">

- {{post.author.fullname}} -

- + + {{ post.author.fullname }} + +

+

- -

+

+

{{post.timecreated * 1000 | coreFormatDate: "strftimerecentfull"}}

{{ 'core.notsent' | translate }} diff --git a/src/addons/mod/forum/components/post/post.scss b/src/addons/mod/forum/components/post/post.scss index 1dcf74beb..b4a5b0092 100644 --- a/src/addons/mod/forum/components/post/post.scss +++ b/src/addons/mod/forum/components/post/post.scss @@ -8,6 +8,16 @@ color: var(--core-star-color); } + .core-discussionusername { + font-size: 1.2em; + } + + .core-groupname { + display: flex; + align-items: center; + gap: 4px; + } + ion-card-header .item { &.highlight::part(native) { diff --git a/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_14.png b/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_14.png index 1136339ec..e498fdc6f 100644 Binary files a/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_14.png and b/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_14.png differ diff --git a/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_9.png b/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_9.png index 8f64ca3b9..73d12cb73 100644 Binary files a/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_9.png and b/src/addons/mod/forum/tests/behat/snapshots/test-basic-usage-of-forum-activity-in-app-reply-a-post_9.png differ