feat(17-03): Administrationsseite schrumpft auf das, was Administration ist
- settings/page.tsx zeigt nur noch Abrufintervall + plattformweite Feeds; Postfach- und Benachrichtigungsabschnitt entfernt (ziehen auf my-sources um) - Anzeigepruefung der Rolle aus dem Anmelde-Speicher: unbekannt -> Platzhalter, ADMIN/SUPER_ADMIN -> Inhalt, sonst Hinweistext + Verweis auf "Meine Quellen" (verbindliche Pruefung bleibt serverseitig, T-17-08/@UseModule, siehe Dateikommentar) - Zahnrad auf der Modulseite fuehrt jetzt nach /my-sources statt /settings; neuer Schluessel page.mySourcesTitle, alter page.settingsTitle bleibt als Verweistext auf der Nutzerseite (Task 1) in Gebrauch - settings.emailSectionTitle/emailSectionBody/notificationsSectionTitle aus beiden Sprachdateien entfernt (gegengeprueft: nirgends mehr referenziert); neue Schluessel settings.accessDeniedText, settings.rssSectionUserNote
This commit is contained in:
@@ -68,17 +68,23 @@ function TenderRadarContent() {
|
||||
{/* Right-side cluster: settings gear + "Jetzt abrufen" trigger */}
|
||||
<div className="flex items-center gap-2">
|
||||
{/*
|
||||
* Einstellungen-Link. Absolute literal href (NOT the dynamic
|
||||
* [category]/[moduleSlug] basePath): the tender-radar settings page
|
||||
* only exists as the literal route /modules/tender-radar/settings —
|
||||
* the dynamic settings route returns "Modul nicht gefunden" for this
|
||||
* module, so the gear must point at the literal path directly.
|
||||
* Zahnrad-Link. Absolute literal href (NOT the dynamic
|
||||
* [category]/[moduleSlug] basePath): tender-radar routes only
|
||||
* exist as literal paths — the dynamic settings route returns
|
||||
* "Modul nicht gefunden" for this module, so the gear must point
|
||||
* at the literal path directly.
|
||||
*
|
||||
* Phase 17 Plan 03 (D-03): points at "Meine Quellen", not the
|
||||
* admin-only settings page — that's the page every module user
|
||||
* (not just administrators) is allowed to configure something
|
||||
* on; administrators reach the platform-wide settings from there
|
||||
* with one more click.
|
||||
*/}
|
||||
<Link
|
||||
href="/modules/tender-radar/settings"
|
||||
href="/modules/tender-radar/my-sources"
|
||||
className="rounded border border-border px-3 py-2 text-sm text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
|
||||
title={t('page.settingsTitle')}
|
||||
aria-label={t('page.settingsTitle')}
|
||||
title={t('page.mySourcesTitle')}
|
||||
aria-label={t('page.mySourcesTitle')}
|
||||
>
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
|
||||
<circle cx="12" cy="12" r="3" />
|
||||
|
||||
Reference in New Issue
Block a user