Commit e965d5eb authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1686833: Adjusting the resume profile information block"

parents c99a3f41 7a54a9f0
......@@ -464,7 +464,14 @@ class ArtefactTypePersonalinformation extends ArtefactTypeResume {
continue;
}
if ($field == 'gender' && !empty($value)) {
$value = get_string($value, 'artefact.resume');
// lang strings changed so need to make changes to deal with new lang string identifiers
$field .= '1';
if ($value == 'male') {
$value = get_string('man', 'artefact.resume');
}
else if ($value == 'female') {
$value = get_string('woman', 'artefact.resume');
}
}
if ($field == 'dateofbirth' && !empty($value)) {
$value = format_date($value+3600, 'strftimedate');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment