diff --git a/src/components/profile/Profile.vue b/src/components/profile/Profile.vue
index 65443d286..a3532e75c 100644
--- a/src/components/profile/Profile.vue
+++ b/src/components/profile/Profile.vue
@@ -56,239 +56,168 @@
-
-
-
-
+
+
-
+
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
+
+
-
+
+
+
+
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
+
+
-
+
+
+
+
-
-
-
-
+
+
+
+
+
-
+
-
-
+ messageOwn="Support for Access Group management is coming soon."
+ :editing="editing === 'access-groups'"
+ >
+
+
+
+
+
@@ -302,9 +231,9 @@ import EditLanguages from './edit/EditLanguages.vue';
import EditIdentities from './edit/EditIdentities.vue';
import EditPersonalInfo from '@/components/profile/edit/EditPersonalInfo.vue';
import EditTags from './edit/EditTags.vue';
-import EmptyCard from '@/components/profile/view/EmptyCard.vue';
import Identities from '@/assets/js/identities';
import ProfileNav from './ProfileNav.vue';
+import ProfileSection from './ProfileSection.vue';
import ViewAccessGroups from './view/ViewAccessGroups.vue';
import ViewAccounts from './view/ViewAccounts.vue';
import ViewContact from './view/ViewContact.vue';
@@ -351,8 +280,8 @@ export default {
EditLanguages,
EditPersonalInfo,
EditTags,
- EmptyCard,
ProfileNav,
+ ProfileSection,
ViewAccessGroups,
ViewAccounts,
ViewContact,
@@ -372,7 +301,9 @@ export default {
sections() {
return {
relations: this.staffInformation.staff,
- contact: true,
+ contact:
+ this.primaryEmail.value ||
+ Object.entries(this.phoneNumbers.values || {}).length > 0,
accounts:
this.editing === 'accounts' ||
(this.uris.values &&
diff --git a/src/components/profile/ProfileSection.vue b/src/components/profile/ProfileSection.vue
new file mode 100644
index 000000000..766224e5e
--- /dev/null
+++ b/src/components/profile/ProfileSection.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+ {{ userOnOwnProfile ? messageOwn : message }}
+
+
+
+
+
+
+
+
diff --git a/src/components/profile/edit/EditKeys.vue b/src/components/profile/edit/EditKeys.vue
index 1c4bc0777..6b29f5336 100644
--- a/src/components/profile/edit/EditKeys.vue
+++ b/src/components/profile/edit/EditKeys.vue
@@ -4,7 +4,7 @@
Keys