-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
display ENV banner anywhere except in PROD
- Loading branch information
1 parent
8979bff
commit f86dcca
Showing
3 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
lacommunaute/utils/tests/__snapshots__/tests_context_processor.ambr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# serializer version: 1 | ||
# name: test_prod_environment[DEV-True][Dev] | ||
''' | ||
<div class="global-messages-container" id="debug-mode-banner"> | ||
<div class="alert alert-danger fade show" role="status"> | ||
<p class="mb-0"> | ||
<strong class="text-uppercase">DEV MODE</strong> | ||
</p> | ||
</div> | ||
</div> | ||
''' | ||
# --- | ||
# name: test_prod_environment[TEST-True][Test] | ||
''' | ||
<div class="global-messages-container" id="debug-mode-banner"> | ||
<div class="alert alert-danger fade show" role="status"> | ||
<p class="mb-0"> | ||
<strong class="text-uppercase">TEST MODE</strong> | ||
</p> | ||
</div> | ||
</div> | ||
''' | ||
# --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters