diff --git a/src/app/routes/profile/profile-detail/profile-detail.component.html b/src/app/routes/profile/profile-detail/profile-detail.component.html index 96496f6..6336a68 100644 --- a/src/app/routes/profile/profile-detail/profile-detail.component.html +++ b/src/app/routes/profile/profile-detail/profile-detail.component.html @@ -65,7 +65,7 @@
@if (user().avatar) { {{ user().username }} {{ user().name }} - } @else if (user().username) { -

- {{ user().username }} -

} @else {

{{ user().email }} diff --git a/src/app/shared/components/my-profile-update-form/my-profile-update-form.component.html b/src/app/shared/components/my-profile-update-form/my-profile-update-form.component.html index bdc04f7..2cbfd4e 100644 --- a/src/app/shared/components/my-profile-update-form/my-profile-update-form.component.html +++ b/src/app/shared/components/my-profile-update-form/my-profile-update-form.component.html @@ -134,7 +134,7 @@ for="profession" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2" > - Profession + Profession *
@@ -170,7 +170,7 @@ for="secteur" class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2" > - Secteur d'activité + Secteur d'activité *
diff --git a/src/app/shared/components/user-form/user-form.component.html b/src/app/shared/components/user-form/user-form.component.html index c235072..b8b1c5a 100644 --- a/src/app/shared/components/user-form/user-form.component.html +++ b/src/app/shared/components/user-form/user-form.component.html @@ -34,7 +34,7 @@
@@ -64,7 +64,7 @@
@@ -108,7 +108,11 @@ d="M7.707 10.293a1 1 0 10-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 11.586V6h5a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V8a2 2 0 012-2h5v5.586l-1.293-1.293zM9 4a1 1 0 012 0v2H9V4z" /> - Modifier mon identité + @if (userForm.valid) { + Sauvegarder les modifications + } @else { + Modifier mon identité + } diff --git a/src/app/shared/components/vertical-profile-item/vertical-profile-item.component.html b/src/app/shared/components/vertical-profile-item/vertical-profile-item.component.html index ea08b57..d1cfdcb 100644 --- a/src/app/shared/components/vertical-profile-item/vertical-profile-item.component.html +++ b/src/app/shared/components/vertical-profile-item/vertical-profile-item.component.html @@ -1,9 +1,5 @@ @if (user() !== undefined) { - +
- {{ user().name }} + {{ user().firstName }} {{ user().lastName }}

} @else if (user().username) {