From 6fbec9abd34f34cb3b8595b51ffabd957a16cd5e Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 27 Apr 2022 13:35:00 +0200 Subject: [PATCH 1/3] add in new global setting --- docs/settings/global.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/settings/global.md b/docs/settings/global.md index 6070375..78548fb 100644 --- a/docs/settings/global.md +++ b/docs/settings/global.md @@ -23,6 +23,7 @@ Configuration of basic server settings. | --- | --- | --- | --- | | InvenTree Instance Name | String | String descriptor for the InvenTree server instance | InvenTree Server | | Use Instance Name | Boolean | Use instance name in title bars | False | +| Restrict showing `about` | Boolean | Show the `about` modal only to superusers | False | | Base URL | String | Base URL for server instance | *blank* | | Company Name | String | Company name | My compant name | | Download from URL | Boolean | Allow downloading of images from remote URLs | False | From a9d1dc91f2f9c501a6812e4e29ddf7a12406c489 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 27 Apr 2022 13:35:57 +0200 Subject: [PATCH 2/3] Add new whitelabel config settings --- docs/start/config.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/start/config.md b/docs/start/config.md index b0a6557..ddaf0cf 100644 --- a/docs/start/config.md +++ b/docs/start/config.md @@ -156,6 +156,18 @@ The login-experience can be altered with the following settings: Custom authentication backends can be used by specifying them here. These can for example be used to add [LDAP / AD login](https://django-auth-ldap.readthedocs.io/en/latest/) to InvenTree +### Customisation Options + +The logo and custom messages can be changed/set: + +| Environment Variable | Settings File | Description | Default | +| --- | --- | --- | --- | +| INVENTREE_CUSTOM_LOGO | customize.logo | Path to logo in the media storage | | +| INVENTREE_CUSTOMIZE | customize.login_message | Custom message for login page | | +| INVENTREE_CUSTOMIZE | customize.navbar_message | Custom message for navbar | | + +If you want to remove the InvenTree branding as far as possible from your end-user also check the [global server settings](../settings/global.md#server-settings). + ## Other Options ### Middleware From eb6d627a82a034a3f483623cf3876be24657a917 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 27 Apr 2022 13:41:04 +0200 Subject: [PATCH 3/3] Add release note for https://github.com/inventree/InvenTree/pull/2861 --- docs/releases/0.7.0.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/releases/0.7.0.md b/docs/releases/0.7.0.md index f5b75c2..697ffbb 100644 --- a/docs/releases/0.7.0.md +++ b/docs/releases/0.7.0.md @@ -36,6 +36,9 @@ title: Release 0.7.0 [#2372](https://github.com/inventree/InvenTree/pull/2372) provides an overhaul of notifications, allowing users to view their notifications directly in the InvenTree interface. +### Why are you hiding my name? +[#2861](https://github.com/inventree/InvenTree/pull/2861) adds several changes to enable admins to remove more of InvenTrees branding. Change logo, hide the about-modal for all but superusers and add custom messages to login and main navbar. Check out [the docs](../start/config.md#customisation-options). + ### Label Printing Plugin [#2768](https://github.com/inventree/InvenTree/pull/2768) adds a new LabelPrinting plugin class, which allows printing labels directly to external printers (e.g. via local network).