diff --git a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html index d81230e3fb2c393e3a44215b4b00ca2579321e00..e73729970693c1af7ef3b658416dbbaaa24d59da 100644 --- a/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html +++ b/basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html @@ -84,6 +84,7 @@ <main role="main" class="flex-shrink-0"> <div class="{% block container-class %}container mb-4{% endblock %}"> <div class="row"> + {% include_if_exists "pre_title_header.html"|localize_template "basetheme_bootstrap/pre_content_page_title.example.html" %} {% block whole_content_page_title %} <div class="pb-2 mt-4 mb-2 col-12"> {% block content_page_title %} diff --git a/basetheme_bootstrap/templates/basetheme_bootstrap/pre_content_page_title.example.html b/basetheme_bootstrap/templates/basetheme_bootstrap/pre_content_page_title.example.html new file mode 100644 index 0000000000000000000000000000000000000000..55ca44838f2bd0d97b9454bfebb0b511f8a03998 --- /dev/null +++ b/basetheme_bootstrap/templates/basetheme_bootstrap/pre_content_page_title.example.html @@ -0,0 +1,4 @@ +<p class="col-12 mt-2 mb-0 alert alert-warning text-center"> +You can put a message in pre_content_page_title.html say for example: <span class="border"> + You are running branch <code>toto</code>, any data changes made here are not to be kept.</span>. You also can create an empty file. +</p> \ No newline at end of file diff --git a/setup.py b/setup.py index 619dd46c6ee894965222ea45c34de1999f64780d..d928b6ae50f8bb98122d94e6b772bf89ee3cedae 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.27', + version='0.2.28', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte',