Add option to have a stripe with ENVIRONMENT name on top of the page. Fixes: #1012#1131
Add option to have a stripe with ENVIRONMENT name on top of the page. Fixes: #1012#1131SukiCZ wants to merge 1 commit intounfoldadmin:mainfrom
Conversation
|
@SukiCZ , You can actually use this, and it will do the same job without major changes. and give the same result and add this env vars as well : |
|
@AmineFouzai the whole point of this PR is to introduce this functionality into Unfold so there will be no need to install any third party libraries |
|
The catch of this task is to make the environment label fullwidth and not only in the main content area. Probably I would choose little bit different colors. Background need to have |
This adds an option to have a stripe with env name on top of the page
The
environment_callbackshould be changed to["Development", "primary", True], last argument indicates "show stripe".Fixes: #1012