From c5ef505008e14f87f8c19c0a71c32fe00b06535a Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 4 May 2022 16:17:05 +0200 Subject: [PATCH] (bug) social icons & avatar not shown --- .../templates/dashboard/settings.html | 2 +- .../templates/shared/_member_form.html | 192 +++++++++--------- .../templates/shared/_social_link.html | 4 +- app/frontend/templates/shared/header.html.erb | 2 +- .../templates/shared/publicProfile.html.erb | 2 +- 5 files changed, 101 insertions(+), 101 deletions(-) diff --git a/app/frontend/templates/dashboard/settings.html b/app/frontend/templates/dashboard/settings.html index 07cb11217..057e541c2 100644 --- a/app/frontend/templates/dashboard/settings.html +++ b/app/frontend/templates/dashboard/settings.html @@ -9,7 +9,7 @@
- test + test
{{user.name}}
{{user.email}}
diff --git a/app/frontend/templates/shared/_member_form.html b/app/frontend/templates/shared/_member_form.html index fbf336c10..0dc2e53fe 100644 --- a/app/frontend/templates/shared/_member_form.html +++ b/app/frontend/templates/shared/_member_form.html @@ -1,26 +1,26 @@ {{alert.msg}} - +
-
+
- +
- - + + + ng-click="user.profile_attributes.user_avatar_attributes._destory = false" + ng-hide="preventField['profile.avatar'] && user.profile_attributes.user_avatar_attributes.attachment_url && !userForm['user[profile_attributes][user_avatar_attributes]'].$dirty"> {{ 'app.shared.user.add_an_avatar' }} {{ 'app.shared.buttons.change' }} @@ -28,8 +28,8 @@
@@ -43,18 +43,18 @@ @@ -86,11 +86,11 @@
{{ 'app.shared.user.surname_is_required' }} @@ -101,11 +101,11 @@
{{ 'app.shared.user.first_name_is_required' }} @@ -167,15 +167,15 @@ {{ 'app.shared.user.confirmation_mismatch_with_password' }}
-
+
+ ng-value="user.invoicing_profile_attributes.organization.id" /> {{ 'app.shared.user.organization_name_is_required' }}
-
+
+ ng-value="user.invoicing_profile_attributes.organization.address.id" /> + ng-disabled="preventField['profile.organization_address'] && user.invoicing_profile_attributes.organization.address.address && !userForm['user[invoicing_profile_attributes][organization_attributes][address_attributes][address]'].$dirty">
{{ 'app.shared.user.organization_address_is_required' }}
@@ -207,17 +207,17 @@ + value="{{user.statistic_profile_attributes.birthday | toIsoDate}}" />
{{ 'app.shared.user.date_of_birth_is_required' }}
@@ -227,13 +227,13 @@ + ng-value="user.invoicing_profile_attributes.address.id" />
@@ -244,11 +244,11 @@
{{ 'app.shared.user.phone_number_is_required' }} @@ -259,12 +259,12 @@ + ng-disabled="preventField['profile.website'] && user.profile_attributes.website && !userForm['user[profile_attributes][website]'].$dirty"/>
@@ -273,34 +273,34 @@ + ng-disabled="preventField['profile.job'] && user.profile_attributes.job && !userForm['user[profile_attributes][job]'].$dirty"/>
+ ng-disabled="preventField['profile.interest'] && user.profile_attributes.interest && !userForm['user[profile_attributes][interest]'].$dirty">
+ ng-disabled="preventField['profile.software_mastered'] && user.profile_attributes.software_mastered && !userForm['user[profile_attributes][software_mastered]'].$dirty">
@@ -332,232 +332,232 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
d
-
+
-
+
d
-
+
-
+
-
+
diff --git a/app/frontend/templates/shared/_social_link.html b/app/frontend/templates/shared/_social_link.html index c92c1f84f..e45f4dca9 100644 --- a/app/frontend/templates/shared/_social_link.html +++ b/app/frontend/templates/shared/_social_link.html @@ -1,4 +1,4 @@ - + {{altText}} - \ No newline at end of file + diff --git a/app/frontend/templates/shared/header.html.erb b/app/frontend/templates/shared/header.html.erb index 4f61c2e8f..cf0afafb4 100644 --- a/app/frontend/templates/shared/header.html.erb +++ b/app/frontend/templates/shared/header.html.erb @@ -33,7 +33,7 @@