Merge pull request #2802 from emanuelschuetze/participant-number

Move participant number to the end of get_full_name().
This commit is contained in:
Norman Jäckel 2016-12-21 10:33:45 +01:00 committed by GitHub
commit 7d64ad98a4

View File

@ -129,14 +129,14 @@ angular.module('OpenSlidesApp.users', [])
addition = []; addition = [];
// addition: add number and structure level // addition: add number and structure level
if (number) {
addition.push(number);
}
if (structure_level) { if (structure_level) {
addition.push(structure_level); addition.push(structure_level);
} }
if (number) {
addition.push(number);
}
if (addition.length > 0) { if (addition.length > 0) {
name += ' (' + addition.join(', ') + ')'; name += ' (' + addition.join(' · ') + ')';
} }
return name; return name;
}, },