diff --git a/products/ASC.People/Client/src/pages/Profile/Section/Body/ProfileInfo/ProfileInfo.js b/products/ASC.People/Client/src/pages/Profile/Section/Body/ProfileInfo/ProfileInfo.js index b634cc21e2..754afccd29 100644 --- a/products/ASC.People/Client/src/pages/Profile/Section/Body/ProfileInfo/ProfileInfo.js +++ b/products/ASC.People/Client/src/pages/Profile/Section/Body/ProfileInfo/ProfileInfo.js @@ -323,11 +323,11 @@ class ProfileInfo extends React.PureComponent { )} {mobilePhone && ( - {t("PhoneLbl")}: + {t("Profile:PhoneLbl")}: {mobilePhone} )} - {sex && ( + {!personal && sex && ( {t("Translations:Sex")}: @@ -335,7 +335,7 @@ class ProfileInfo extends React.PureComponent { )} - {birthday && ( + {!personal && birthday && ( {t("Translations:Birthdate")}: @@ -359,7 +359,7 @@ class ProfileInfo extends React.PureComponent { )} - {location && ( + {!personal && location && ( {t("Common:Location")}: @@ -394,7 +394,9 @@ class ProfileInfo extends React.PureComponent { className="language-combo" showDisabledItems={true} dropDownMaxHeight={364} - manualWidth="240px" + manualWidth="320px" + isDefaultMode={false} + withBlur={window.innerWidth <= 428} /> )} - {profile.notes && ( + {!personal && profile.notes && ( @@ -542,14 +542,14 @@ class SectionBodyContent extends React.PureComponent { )} - {profile.contacts && ( + {!personal && profile.contacts && ( {infoContacts} )} - {socialContacts && ( + {!personal && socialContacts && ( - + {!personal && ( + + )} {!personal && ( - - )} - {!personal && ( - = new Date().setHours(0, 0, 0, 0) - } - inputOnChange={this.onWorkFromDateChange} - inputTabIndex={7} - calendarMinDate={calendarMinDate} - locale={language} - maxLabelWidth={maxLabelWidth} - //calendarMaxDate={calendarMinDate} - /> - )} - - {!personal && ( - - )} - {!isMy && !personal && ( - + <> + + = new Date().setHours(0, 0, 0, 0) + } + inputOnChange={this.onWorkFromDateChange} + inputTabIndex={7} + calendarMinDate={calendarMinDate} + locale={language} + maxLabelWidth={maxLabelWidth} + //calendarMaxDate={calendarMinDate} + /> + + + {!isMy && ( + + )} + )} {!personal && ( - -