Commit 9b69e3f8 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

introducing pre_title_header to help with multi branch environment

parent 80d0d8f5
Pipeline #17533 passed with stage
in 28 seconds
......@@ -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 %}
<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.
\ No newline at end of file
......@@ -7,7 +7,7 @@ readme = open('README.rst').read()
description='Django Basetheme Bootstrap',
author='Bryan Brancotte',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment