Skip to content

Commit

Permalink
Merge branch 'release/2.6.18'
Browse files Browse the repository at this point in the history
  • Loading branch information
flibbertigibbet committed Jul 1, 2019
2 parents 691bb2c + 00360c4 commit f90d533
Show file tree
Hide file tree
Showing 10 changed files with 968 additions and 911 deletions.
4 changes: 2 additions & 2 deletions deployment/ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ postgres_host: "192.168.8.25"

packer_version: "1.0.2"

nodejs_version: 10.15.3
nodejs_npm_version: 6.4.1
nodejs_version: 10.16.0
nodejs_npm_version: 6.9.0

pip_version: 19.1.*
virtualenv_version: 16.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ root_media_dir: "/media/cac"
cac_python_dependencies:
- { name: 'base58', version: '1.0.3' }
- { name: 'boto', version: '2.49.0' }
- { name: 'django', version: '1.11.20' }
- { name: 'django-ckeditor', version: '5.6.1' }
- { name: 'django', version: '1.11.21' }
- { name: 'django-ckeditor', version: '5.7.1' }
- { name: 'django-image-cropping', version: '1.2.0' }
- { name: 'django-extensions', version: '1.9.9' }
- { name: 'django-storages', version: '1.7.1' }
- { name: 'easy-thumbnails', version: '2.6.0' }
- { name: 'gunicorn', version: '19.9.0' }
- { name: 'Pillow', version: '6.0.0' }
- { name: 'psycopg2-binary', version: '2.8.2' }
- { name: 'psycopg2-binary', version: '2.8.3' }
- { name: 'pytz', version: '2019.1' }
- { name: 'troposphere', version: '1.8.1' }
- { name: 'majorkirby', version: '0.2.1' }
Expand Down
3 changes: 2 additions & 1 deletion python/cac_tripplanner/templates/event-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h3>More great events around Philly</h3>

{%block jspage %}
<script type="text/javascript">
jQuery(document).ready(function ($) {
jQuery(document).ready(function () {
tns({
container: '.detail-image-carousel',
autoplayButton: false,
Expand All @@ -66,6 +66,7 @@ <h3>More great events around Philly</h3>
slideBy: 'page',
autoplay: true
});
jQuery('.detail-image-carousel-extra-image').removeClass('hidden');
});
</script>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<div class="detail-image-carousel">
<img src="{% cropped_thumbnail destination 'wide_image' %}">
{% for extra_image in destination.extradestinationpicture_set.all %}
<img src="{% cropped_thumbnail extra_image 'wide_image' %}">
<img class="detail-image-carousel-extra-image hidden"
src="{% cropped_thumbnail extra_image 'wide_image' %}">
{% endfor %}
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion python/cac_tripplanner/templates/partials/event-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<div class="detail-image-carousel">
<img src="{% cropped_thumbnail event "wide_image" %}">
{% for extra_image in event.extraeventpicture_set.all %}
<img src="{% cropped_thumbnail extra_image 'wide_image' %}">
<img class="detail-image-carousel-extra-image hidden"
src="{% cropped_thumbnail extra_image 'wide_image' %}">
{% endfor %}
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion python/cac_tripplanner/templates/place-detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h3>More great, green places around Philly</h3>

{%block jspage %}
<script type="text/javascript">
jQuery(document).ready(function ($) {
jQuery(document).ready(function () {
tns({
container: '.detail-image-carousel',
autoplayButton: false,
Expand All @@ -66,6 +66,7 @@ <h3>More great, green places around Philly</h3>
slideBy: 'page',
autoplay: true
});
jQuery('.detail-image-carousel-extra-image').removeClass('hidden');
});
</script>
{% endblock %}
2 changes: 1 addition & 1 deletion python/cac_tripplanner/templates/service-worker.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Service Worker to support functioning as a PWA
// https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers

var CACHE_NAME = 'cac_tripplanner_v22';
var CACHE_NAME = 'cac_tripplanner_v23';

var cacheFiles = {{ cache_files | safe }};

Expand Down
6 changes: 6 additions & 0 deletions src/app/styles/layouts/_info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
margin-left: -4rem;
margin-right: -4rem;
}

.detail-image-carousel-extra-image {
&.hidden {
display: none;
}
}
}

.info-article-image-hero {
Expand Down
Loading

0 comments on commit f90d533

Please sign in to comment.