Added "No." for participant number in get_full_name().

This commit is contained in:
Emanuel Schütze 2016-12-21 10:59:04 +01:00
parent 7d64ad98a4
commit c79e779934

View File

@ -69,8 +69,9 @@ angular.module('OpenSlidesApp.users', [])
'Group',
'jsDataModel',
'gettext',
'gettextCatalog',
'Config',
function(DS, Group, jsDataModel, gettext, Config) {
function(DS, Group, jsDataModel, gettext, gettextCatalog, Config) {
var name = 'users/user';
return DS.defineResource({
name: name,
@ -133,7 +134,10 @@ angular.module('OpenSlidesApp.users', [])
addition.push(structure_level);
}
if (number) {
addition.push(number);
addition.push(
/// abbreviation for number
gettextCatalog.getString('No.') + ' ' + number
);
}
if (addition.length > 0) {
name += ' (' + addition.join(' · ') + ')';