Skip to content

Commit f90d533

Browse files
Merge branch 'release/2.6.18'
2 parents 691bb2c + 00360c4 commit f90d533

File tree

10 files changed

+968
-911
lines changed

10 files changed

+968
-911
lines changed

deployment/ansible/group_vars/all

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ postgres_host: "192.168.8.25"
1111

1212
packer_version: "1.0.2"
1313

14-
nodejs_version: 10.15.3
15-
nodejs_npm_version: 6.4.1
14+
nodejs_version: 10.16.0
15+
nodejs_npm_version: 6.9.0
1616

1717
pip_version: 19.1.*
1818
virtualenv_version: 16.5.0

deployment/ansible/roles/cac-tripplanner.app/defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ root_media_dir: "/media/cac"
1515
cac_python_dependencies:
1616
- { name: 'base58', version: '1.0.3' }
1717
- { name: 'boto', version: '2.49.0' }
18-
- { name: 'django', version: '1.11.20' }
19-
- { name: 'django-ckeditor', version: '5.6.1' }
18+
- { name: 'django', version: '1.11.21' }
19+
- { name: 'django-ckeditor', version: '5.7.1' }
2020
- { name: 'django-image-cropping', version: '1.2.0' }
2121
- { name: 'django-extensions', version: '1.9.9' }
2222
- { name: 'django-storages', version: '1.7.1' }
2323
- { name: 'easy-thumbnails', version: '2.6.0' }
2424
- { name: 'gunicorn', version: '19.9.0' }
2525
- { name: 'Pillow', version: '6.0.0' }
26-
- { name: 'psycopg2-binary', version: '2.8.2' }
26+
- { name: 'psycopg2-binary', version: '2.8.3' }
2727
- { name: 'pytz', version: '2019.1' }
2828
- { name: 'troposphere', version: '1.8.1' }
2929
- { name: 'majorkirby', version: '0.2.1' }

python/cac_tripplanner/templates/event-detail.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h3>More great events around Philly</h3>
5252

5353
{%block jspage %}
5454
<script type="text/javascript">
55-
jQuery(document).ready(function ($) {
55+
jQuery(document).ready(function () {
5656
tns({
5757
container: '.detail-image-carousel',
5858
autoplayButton: false,
@@ -66,6 +66,7 @@ <h3>More great events around Philly</h3>
6666
slideBy: 'page',
6767
autoplay: true
6868
});
69+
jQuery('.detail-image-carousel-extra-image').removeClass('hidden');
6970
});
7071
</script>
7172
{% endblock %}

python/cac_tripplanner/templates/partials/destination-detail.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<div class="detail-image-carousel">
88
<img src="{% cropped_thumbnail destination 'wide_image' %}">
99
{% for extra_image in destination.extradestinationpicture_set.all %}
10-
<img src="{% cropped_thumbnail extra_image 'wide_image' %}">
10+
<img class="detail-image-carousel-extra-image hidden"
11+
src="{% cropped_thumbnail extra_image 'wide_image' %}">
1112
{% endfor %}
1213
</div>
1314
</div>

python/cac_tripplanner/templates/partials/event-detail.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<div class="detail-image-carousel">
1010
<img src="{% cropped_thumbnail event "wide_image" %}">
1111
{% for extra_image in event.extraeventpicture_set.all %}
12-
<img src="{% cropped_thumbnail extra_image 'wide_image' %}">
12+
<img class="detail-image-carousel-extra-image hidden"
13+
src="{% cropped_thumbnail extra_image 'wide_image' %}">
1314
{% endfor %}
1415
</div>
1516
</div>

python/cac_tripplanner/templates/place-detail.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h3>More great, green places around Philly</h3>
5252

5353
{%block jspage %}
5454
<script type="text/javascript">
55-
jQuery(document).ready(function ($) {
55+
jQuery(document).ready(function () {
5656
tns({
5757
container: '.detail-image-carousel',
5858
autoplayButton: false,
@@ -66,6 +66,7 @@ <h3>More great, green places around Philly</h3>
6666
slideBy: 'page',
6767
autoplay: true
6868
});
69+
jQuery('.detail-image-carousel-extra-image').removeClass('hidden');
6970
});
7071
</script>
7172
{% endblock %}

python/cac_tripplanner/templates/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Service Worker to support functioning as a PWA
22
// https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers
33

4-
var CACHE_NAME = 'cac_tripplanner_v22';
4+
var CACHE_NAME = 'cac_tripplanner_v23';
55

66
var cacheFiles = {{ cache_files | safe }};
77

src/app/styles/layouts/_info.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
margin-left: -4rem;
8585
margin-right: -4rem;
8686
}
87+
88+
.detail-image-carousel-extra-image {
89+
&.hidden {
90+
display: none;
91+
}
92+
}
8793
}
8894

8995
.info-article-image-hero {

0 commit comments

Comments
 (0)