diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml
index 344a27bb60..3063619161 100644
--- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml
+++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml
@@ -1,23 +1,16 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
diff --git a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml.cs b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml.cs
index 1df2840402..e52c232100 100644
--- a/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml.cs
+++ b/Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml.cs
@@ -14,7 +14,7 @@ using static Robust.Client.UserInterface.Controls.BoxContainer;
namespace Content.Client.Medical.CrewMonitoring
{
[GenerateTypedNameReferences]
- public sealed partial class CrewMonitoringWindow : DefaultWindow
+ public sealed partial class CrewMonitoringWindow : FancyWindow
{
private List _rowsContent = new();
private List<(DirectionIcon Icon, Vector2 Position)> _directionIcons = new();
@@ -41,16 +41,26 @@ namespace Content.Client.Medical.CrewMonitoring
// add a row for each sensor
foreach (var sensor in stSensors.OrderBy(a => a.Name))
{
- // add users name and job
- // format: UserName (Job)
+ // add users name
+ // format: UserName
var nameLabel = new Label()
{
- Text = $"{sensor.Name} ({sensor.Job})"
+ Text = sensor.Name,
+ HorizontalExpand = true
};
- nameLabel.HorizontalExpand = true;
SensorsTable.AddChild(nameLabel);
_rowsContent.Add(nameLabel);
+ // add users job
+ // format: JobName
+ var jobLabel = new Label()
+ {
+ Text = sensor.Job,
+ HorizontalExpand = true
+ };
+ SensorsTable.AddChild(jobLabel);
+ _rowsContent.Add(jobLabel);
+
// add users status and damage
// format: IsAlive (TotalDamage)
var statusText = Loc.GetString(sensor.IsAlive ?
@@ -122,7 +132,7 @@ namespace Content.Client.Medical.CrewMonitoring
{
foreach (var child in _rowsContent)
{
- SensorsTable.RemoveChild(child);
+ SensorsTable.RemoveChild(child);
}
_rowsContent.Clear();
}
diff --git a/Resources/Locale/en-US/medical/components/crew-monitoring-component.ftl b/Resources/Locale/en-US/medical/components/crew-monitoring-component.ftl
index d2f4a95369..0914415619 100644
--- a/Resources/Locale/en-US/medical/components/crew-monitoring-component.ftl
+++ b/Resources/Locale/en-US/medical/components/crew-monitoring-component.ftl
@@ -3,11 +3,10 @@
crew-monitoring-user-interface-title = Crew Monitoring
crew-monitoring-user-interface-name = Name
+crew-monitoring-user-interface-job = Job
crew-monitoring-user-interface-status = Status
crew-monitoring-user-interface-location = Location
crew-monitoring-user-interface-alive = Alive
crew-monitoring-user-interface-dead = Dead
crew-monitoring-user-interface-no-info = N/A
-
-