Web: People: Fixed profile info order on Profile page

This commit is contained in:
Ilya Oleshko 2019-12-25 13:37:11 +03:00
parent e44a78a94b
commit 6f969da694

View File

@ -261,26 +261,6 @@ class ProfileInfo extends React.PureComponent {
</InfoItemValue>
</InfoItem>
}
{department &&
<InfoItem>
<InfoItemLabel>
{t("CustomDepartment", { department: departmentName })}:
</InfoItemLabel>
<InfoItemValue>
{formatedDepartments}
</InfoItemValue>
</InfoItem>
}
{title &&
<InfoItem>
<InfoItemLabel>
{t("CustomPosition", { position })}:
</InfoItemLabel>
<InfoItemValue>
{title}
</InfoItemValue>
</InfoItem>
}
{(mobilePhone) &&
<InfoItem>
<InfoItemLabel>
@ -301,16 +281,6 @@ class ProfileInfo extends React.PureComponent {
</InfoItemValue>
</InfoItem>
}
{workFrom &&
<InfoItem>
<InfoItemLabel>
{t("CustomEmployedSinceDate", { employedSinceDate })}:
</InfoItemLabel>
<InfoItemValue>
{workFromDate}
</InfoItemValue>
</InfoItem>
}
{birthday &&
<InfoItem>
<InfoItemLabel>
@ -321,6 +291,26 @@ class ProfileInfo extends React.PureComponent {
</InfoItemValue>
</InfoItem>
}
{title &&
<InfoItem>
<InfoItemLabel>
{t("CustomPosition", { position })}:
</InfoItemLabel>
<InfoItemValue>
{title}
</InfoItemValue>
</InfoItem>
}
{department &&
<InfoItem>
<InfoItemLabel>
{t("CustomDepartment", { department: departmentName })}:
</InfoItemLabel>
<InfoItemValue>
{formatedDepartments}
</InfoItemValue>
</InfoItem>
}
{location &&
<InfoItem>
<InfoItemLabel>
@ -331,6 +321,16 @@ class ProfileInfo extends React.PureComponent {
</InfoItemValue>
</InfoItem>
}
{workFrom &&
<InfoItem>
<InfoItemLabel>
{t("CustomEmployedSinceDate", { employedSinceDate })}:
</InfoItemLabel>
<InfoItemValue>
{workFromDate}
</InfoItemValue>
</InfoItem>
}
{isSelf &&
<InfoItem>
<InfoItemLabel>