mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 06:44:53 +03:00
add column labels in profiles view
This commit is contained in:
parent
2ad3db251f
commit
aed47edf44
@ -1521,6 +1521,8 @@
|
||||
"noOverrides": "No overrides",
|
||||
"cameraCount_one": "{{count}} camera",
|
||||
"cameraCount_other": "{{count}} cameras",
|
||||
"columnCamera": "Camera",
|
||||
"columnOverrides": "Profile Overrides",
|
||||
"baseConfig": "Base Config",
|
||||
"addProfile": "Add Profile",
|
||||
"newProfile": "New Profile",
|
||||
|
||||
@ -542,6 +542,20 @@ export default function ProfilesView({
|
||||
<CollapsibleContent>
|
||||
{cameras.length > 0 ? (
|
||||
<div className="mx-4 mb-3 ml-11 border-l border-border/50 pl-4">
|
||||
<div className="flex items-baseline gap-3 border-b border-border/30 pb-1.5">
|
||||
<span className="min-w-[120px] shrink-0 text-xs font-semibold uppercase text-muted-foreground">
|
||||
{t("profiles.columnCamera", {
|
||||
ns: "views/settings",
|
||||
defaultValue: "Camera",
|
||||
})}
|
||||
</span>
|
||||
<span className="text-xs font-semibold uppercase text-muted-foreground">
|
||||
{t("profiles.columnOverrides", {
|
||||
ns: "views/settings",
|
||||
defaultValue: "Profile Overrides",
|
||||
})}
|
||||
</span>
|
||||
</div>
|
||||
{cameras.map((camera) => {
|
||||
const sections = cameraData[camera];
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user