Skip to content

Commit

Permalink
Merge pull request #71 from ppfeufer/development
Browse files Browse the repository at this point in the history
[FIX] JS order in template
  • Loading branch information
ppfeufer authored Jul 11, 2022
2 parents a77f058 + 2390015 commit 27fdde6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/)
## [In Development] - Unreleased


## [1.15.1] - 2022-07-11

### Fixed

- JS order in template


## [1.15.0] - 2022-07-11

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion aasrp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
A couple of variable to use throughout the app
"""

__version__ = "1.15.0"
__version__ = "1.15.1"
__title__ = "Ship Replacement"
7 changes: 4 additions & 3 deletions aasrp/templates/aasrp/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
{% endblock %}

{% block extra_javascript %}
{% include 'bundles/datatables-js.html' %}
{% include 'bundles/filterdropdown-js.html' %}
{% include 'bundles/moment-js.html' with locale=True %}
{% include 'bundles/clipboard-js.html' %}

<script type="application/javascript">
Expand All @@ -47,6 +44,10 @@
});
</script>

{% include 'bundles/datatables-js.html' %}
{% include 'bundles/moment-js.html' with locale=True %}
{% include 'bundles/filterdropdown-js.html' %}

<script type="application/javascript" src="{% static 'aasrp/libs/datatables/plugins/datetime.js' %}"></script>

<script type="application/javascript">
Expand Down
9 changes: 5 additions & 4 deletions aasrp/templates/aasrp/view_requests.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
{% endblock %}

{% block extra_javascript %}
{% include 'bundles/moment-js.html' with locale=True %}
{% include 'bundles/datatables-js.html' %}
{% include 'bundles/filterdropdown-js.html' %}
{% include 'bundles/clipboard-js.html' %}
{% include 'aasrp/bundles/x-editable-js.html' %}

<script type="application/javascript">
let clipboard = new ClipboardJS('.copy-text-fa-icon');
Expand All @@ -48,6 +44,11 @@
});
</script>

{% include 'aasrp/bundles/x-editable-js.html' %}
{% include 'bundles/moment-js.html' with locale=True %}
{% include 'bundles/datatables-js.html' %}
{% include 'bundles/filterdropdown-js.html' %}

<script type="application/javascript" src="{% static 'aasrp/libs/datatables/plugins/datetime.min.js' %}"></script>

<script type="application/javascript">
Expand Down

0 comments on commit 27fdde6

Please sign in to comment.