diff --git a/web/src/admin/groups/GroupViewPage.ts b/web/src/admin/groups/GroupViewPage.ts index abbab633673..e29a178586f 100644 --- a/web/src/admin/groups/GroupViewPage.ts +++ b/web/src/admin/groups/GroupViewPage.ts @@ -134,6 +134,20 @@ export class GroupViewPage extends AKElement { +
+
${t`Notes`}
+
+ ${Object.hasOwn(this.group?.attributes || {}, "notes") + ? html`${this.group.attributes?.notes}` + : html` +

+ ${t`Edit the notes attribute of this group to add notes here. Markdown is supported.`} +

+ `} +
+
diff --git a/web/src/admin/users/UserViewPage.ts b/web/src/admin/users/UserViewPage.ts index dfd2c5f2d71..4caf3612ad4 100644 --- a/web/src/admin/users/UserViewPage.ts +++ b/web/src/admin/users/UserViewPage.ts @@ -280,7 +280,21 @@ export class UserViewPage extends AKElement {
+
${t`Notes`}
+
+ ${Object.hasOwn(this.user?.attributes || {}, "notes") + ? html`${this.user.attributes?.notes}` + : html` +

+ ${t`Edit the notes attribute of this user to add notes here. Markdown is supported.`} +

+ `} +
+
+
${t`Changelog`}