Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
9b69e3f8
Commit
9b69e3f8
authored
Nov 04, 2019
by
Bryan BRANCOTTE
Browse files
introducing pre_title_header to help with multi branch environment
parent
80d0d8f5
Pipeline
#17533
passed with stage
in 28 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/basetheme_bootstrap/basePasteur.html
View file @
9b69e3f8
...
...
@@ -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 %}
...
...
basetheme_bootstrap/templates/basetheme_bootstrap/pre_content_page_title.example.html
0 → 100644
View file @
9b69e3f8
<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
setup.py
View file @
9b69e3f8
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'django-basetheme-bootstrap'
,
version
=
'0.2.2
7
'
,
version
=
'0.2.2
8
'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment