Files
tsumugu/frontend/src/pages/Settings.jsx
T
LarsandCursor 52bda91aad
Deploy Development / deploy (push) Successful in 22s
Test Suite / pytest-backend (push) Successful in 51s
Test Suite / smoke-dev (push) Successful in 1s
Test Suite / frontend-build (push) Successful in 6s
Ordne Akten und Vorgaenge nach fachlichem Datum oder eigener Reihenfolge und mache den Inhalt zur Arbeitsansicht.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 09:36:48 +02:00

37 lines
1.2 KiB
React

import { useContext } from "react";
import { Link } from "react-router-dom";
import { SessionContext } from "../session.js";
export function Settings() {
const { session } = useContext(SessionContext);
return (
<main className="page">
<header className="page-head">
<div>
<h1>Verwaltung</h1>
<p className="muted">Datenräume, Quellen und Nutzer. Das ist nicht die tägliche Aktenarbeit.</p>
</div>
</header>
<div className="tiles">
<Link className="tile" to="/rooms">
<span className="tile__kind">Verwaltung</span>
<strong>Datenräume</strong>
<span>Räume anlegen und wechseln</span>
</Link>
<Link className="tile" to="/sources">
<span className="tile__kind">Verwaltung</span>
<strong>Quellen</strong>
<span>Paperless und E-Mail</span>
</Link>
{session?.account?.is_superadmin ? (
<Link className="tile" to="/users">
<span className="tile__kind">Verwaltung</span>
<strong>Nutzer</strong>
<span>Konten anlegen</span>
</Link>
) : null}
</div>
</main>
);
}