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
22954aaf
Commit
22954aaf
authored
Sep 26, 2019
by
Bryan BRANCOTTE
Browse files
ability to inject js file
parent
8f9ced1f
Pipeline
#15795
passed with stage
in 32 seconds
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/basetheme_bootstrap/form_host.html
View file @
22954aaf
...
@@ -3,6 +3,13 @@
...
@@ -3,6 +3,13 @@
{% load static %}
{% load static %}
{% load i18n %}
{% load i18n %}
{% block extra_js %}
{{block.super}}
{% if extra_js_file %}
<script
src=
"{% static extra_js_file %}"
></script>
{% endif%}
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
...
...
basetheme_bootstrap/templates/registration/small_form_host.html
View file @
22954aaf
...
@@ -3,6 +3,13 @@
...
@@ -3,6 +3,13 @@
{% load static %}
{% load static %}
{% load i18n %}
{% load i18n %}
{% block extra_js %}
{{block.super}}
{% if extra_js_file %}
<script
src=
"{% static extra_js_file %}"
></script>
{% endif%}
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
{% block page_title %}{{ page_title|default:title }}{% endblock %}
...
...
setup.py
View file @
22954aaf
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
setup
(
name
=
'django-basetheme-bootstrap'
,
name
=
'django-basetheme-bootstrap'
,
version
=
'0.2.2
1
'
,
version
=
'0.2.2
2
'
,
description
=
'Django Basetheme Bootstrap'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
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