Move id and health examinable to shared (#27867)
* Move id and health examinable to shared * Make GetInfo public
This commit is contained in:
@@ -207,9 +207,9 @@ public abstract class SharedIdCardSystem : EntitySystem
|
||||
var jobSuffix = string.IsNullOrWhiteSpace(id.JobTitle) ? string.Empty : $" ({id.JobTitle})";
|
||||
|
||||
var val = string.IsNullOrWhiteSpace(id.FullName)
|
||||
? Loc.GetString("access-id-card-component-owner-name-job-title-text",
|
||||
? Loc.GetString(id.NameLocId,
|
||||
("jobSuffix", jobSuffix))
|
||||
: Loc.GetString("access-id-card-component-owner-full-name-job-title-text",
|
||||
: Loc.GetString(id.FullNameLocId,
|
||||
("fullName", id.FullName),
|
||||
("jobSuffix", jobSuffix));
|
||||
_metaSystem.SetEntityName(uid, val);
|
||||
|
||||
Reference in New Issue
Block a user