mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
* refactor DeltaV/deltav resources to _DV * change DeltaV namespaces to _DV * add space before all DeltaV comments * update xamls * fix and move arena parallax to _DV * more fix * refactor even more stuff * fix the grid fills --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
22 lines
738 B
C#
22 lines
738 B
C#
using Content.Shared.CartridgeLoader.Cartridges;
|
|
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client._DV.CartridgeLoader.Cartridges;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class SecWatchEntryControl : BoxContainer
|
|
{
|
|
public SecWatchEntryControl(SecWatchEntry entry)
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
|
|
Status.Text = Loc.GetString($"criminal-records-status-{entry.Status.ToString().ToLower()}");
|
|
Title.Text = Loc.GetString("sec-watch-entry", ("name", entry.Name), ("job", entry.Job));
|
|
|
|
Reason.Text = entry.Reason ?? Loc.GetString("sec-watch-no-reason");
|
|
}
|
|
}
|