Merge branch 'main' into charts-widget

pull/1749/head
Ben Phelps 10 months ago
commit 3fa72e48cc

@ -680,8 +680,8 @@
},
"urbackup": {
"ok": "Ok",
"errored": "Errors",
"noRecent": "Out of Date",
"totalUsed": "Used Storage"
"errored": "Erreurs",
"noRecent": "Obsolète",
"totalUsed": "Esp. Utilisé"
}
}

@ -15,7 +15,7 @@ export default function Resource({ children, icon, value, label, expandedValue =
<div className="pr-1">{expandedLabel}</div>
</div>
}
{ percentage && <UsageBar percent={percentage} /> }
{ percentage >= 0 && <UsageBar percent={percentage} /> }
{ children }
</div>
</div>;

@ -9,10 +9,10 @@ const widget = {
endpoint: "core/users?page_size=1",
},
login: {
endpoint: "events/events/per_month/?action=login&query={}",
endpoint: "events/events/per_month/?action=login",
},
login_failed: {
endpoint: "events/events/per_month/?action=login_failed&query={}",
endpoint: "events/events/per_month/?action=login_failed",
},
},
};

Loading…
Cancel
Save