diff --git a/administration/public/icons/nuernberg.sozialpass.app.png b/administration/public/icons/nuernberg.sozialpass.app.png new file mode 100644 index 000000000..b5cb1b6ee Binary files /dev/null and b/administration/public/icons/nuernberg.sozialpass.app.png differ diff --git a/administration/src/Router.tsx b/administration/src/Router.tsx index 26a4c6e8e..e0363febb 100644 --- a/administration/src/Router.tsx +++ b/administration/src/Router.tsx @@ -32,9 +32,7 @@ const Router = () => { } /> } /> - {projectConfig.projectId === 'bayern.ehrenamtskarte.app' ? ( - } /> - ) : null} + {projectConfig.applicationFeatureEnabled ? } /> : null} } /> {
- } /> - } /> + {projectConfig.applicationFeatureEnabled ? ( + <> + } /> + {/*Currently, '/region' only allows to set the data privacy text for the application form*/} + } /> + + ) : null} } /> } /> } /> diff --git a/administration/src/components/Navigation.tsx b/administration/src/components/Navigation.tsx index 1e2982cc3..08ba75ebe 100644 --- a/administration/src/components/Navigation.tsx +++ b/administration/src/components/Navigation.tsx @@ -18,33 +18,38 @@ const Navigation = (props: Props) => { return ( - {config.name} Verwaltung + + +
{config.name} Verwaltung
+ {region === null ? null : ( + + {region.prefix} {region.name} + + )} +
+
- {region == null ? null : ( - <> - {region?.name ?? ''} - - - )} - -