-
-
Notifications
You must be signed in to change notification settings - Fork 843
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add intrestials to CUI * Add intrestial to report settings * add option to docs * rename to banner Fixes #6554 Co-authored-by: Oliver <[email protected]> * change name --------- Co-authored-by: Oliver <[email protected]>
- Loading branch information
1 parent
df36f90
commit 37956db
Showing
8 changed files
with
29 additions
and
0 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
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
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
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
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
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
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
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,17 @@ | ||
{% load inventree_extras %} | ||
{% load i18n %} | ||
|
||
{% inventree_customize 'hide_pui_banner' as hidden %} | ||
|
||
{% if not hidden %} | ||
<div class='alert alert-block alert-warning'> | ||
{% if mode == 'admin' %} | ||
{% trans "Platform UI - the new UI for InvenTree - provides more modern administration options." %} | ||
{% endif %} | ||
{% if mode == 'user' %} | ||
{% trans "Platform UI - the new UI for InvenTree - is ready to be tested." %} | ||
{% endif %} | ||
<br> | ||
{% trans "Try it out now" %} <a href="{% url 'platform' %}"/>{% trans "here" %}</a>. | ||
</div> | ||
{% endif %} |