setOpen({ ...open, [st.dir]: !isOpen })}>
@@ -288,18 +293,28 @@ function TargetBlock({ server, target, scan, me, keep, filtering, onCheck, onApp
{applying && }
{!applying && st.status === "uptodate" && }
- {!applying && st.status === "updates" && }
+ {!applying && !ignored && st.status === "updates" && }
{!applying && st.status === "error" && }
- {applying ? "Mise à jour en cours" : statusLabel[st.status]}
+ {applying ? "Mise à jour en cours" : ignored ? "Exclue" : statusLabel[st.status]}
- {st.name}
+
+ {st.name}
+ {st.excluded && (
+ <>
+ {" "}
+
+ exclue
+
+ >
+ )}
+
{st.dir}
{applying ? "pull, down puis up -d…" : st.status === "error" ? {st.error} : total > 0 ? (late > 0 ? `${late}/${plural(total, "image")} à mettre à jour` : plural(total, "image")) : ""}
- {me.admin && st.status === "updates" && !applying && (
+ {me.admin && st.status === "updates" && !applying && !st.excluded && (