#7: Redoing of the admin syncshell screen #6

Merged
cake merged 4 commits from syncshell_admin_user_list into 1.11.6 2025-09-07 18:29:36 +00:00
Showing only changes of commit 7bb4e89a0d - Show all commits

View File

@@ -343,7 +343,7 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
+ UiSharedService.TooltipSeparator + "Note: this check excludes pinned users and moderators of this Syncshell.");
ImGui.SameLine();
ImGui.SetNextItemWidth(150);
_uiSharedService.DrawCombo("Days of inactivity", [7, 14, 30, 90], (count) =>
_uiSharedService.DrawCombo("Day(s) of inactivity", [1, 3, 7, 14, 30, 90], (count) =>
{
return count + " days";
},
@@ -364,7 +364,7 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
else
{
ImGui.AlignTextToFramePadding();
UiSharedService.TextWrapped($"Found {_pruneTestTask.Result} user(s) that have not logged into Lightless in the past {_pruneDays} days.");
UiSharedService.TextWrapped($"Found {_pruneTestTask.Result} user(s) that have not logged into Lightless in the past {_pruneDays} day(s).");
if (_pruneTestTask.Result > 0)
{
using (ImRaii.Disabled(!UiSharedService.CtrlPressed()))