diff --git a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.html b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.html index 591c68ff6..dc226a4a3 100644 --- a/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.html +++ b/apps/red-ui/src/app/modules/file-preview/file-preview-screen.component.html @@ -33,6 +33,15 @@ [minWidth]="width" > + + - - + - - - + + + + + + + + diff --git a/docker/red-ui/docker-entrypoint.sh b/docker/red-ui/docker-entrypoint.sh index 54e57d714..0b0be7c92 100755 --- a/docker/red-ui/docker-entrypoint.sh +++ b/docker/red-ui/docker-entrypoint.sh @@ -17,6 +17,7 @@ OAUTH_URL="${OAUTH_URL:-/auth}" RECENT_PERIOD_IN_HOURS="${RECENT_PERIOD_IN_HOURS:-24}" SELECTION_MODE="${SELECTION_MODE:-structural}" MANUAL_BASE_URL="${MANUAL_BASE_URL:-https://docs.redactmanager.com/preview}" +RSS_ENABLED="${RSS_ENABLED:-false}" @@ -36,7 +37,8 @@ echo '{ "OAUTH_URL":"'"$OAUTH_URL"'", "RECENT_PERIOD_IN_HOURS":'"$RECENT_PERIOD_IN_HOURS"', "SELECTION_MODE":"'"$SELECTION_MODE"'", - "MANUAL_BASE_URL":"'"$MANUAL_BASE_URL"'" + "MANUAL_BASE_URL":"'"$MANUAL_BASE_URL"'", + "RSS_ENABLED":'"$RSS_ENABLED"' }' > /usr/share/nginx/html/ui/assets/config/config.json echo 'Env variables: ' diff --git a/libs/red-domain/src/lib/shared/app-config.ts b/libs/red-domain/src/lib/shared/app-config.ts index ba047ec67..5ccb10056 100644 --- a/libs/red-domain/src/lib/shared/app-config.ts +++ b/libs/red-domain/src/lib/shared/app-config.ts @@ -15,4 +15,5 @@ export interface AppConfig { RECENT_PERIOD_IN_HOURS: number; SELECTION_MODE: string; MANUAL_BASE_URL: string; + RSS_ENABLED: boolean; }