Delete trailing spaces and rogue newlines

This commit is contained in:
Anna Sidwell 2018-03-31 21:05:09 +11:00
parent fafb475869
commit ee440617d9
2 changed files with 6 additions and 8 deletions

View File

@ -32,7 +32,7 @@
{% leaflet_js %}
<script type="text/javascript" src="{% static 'map/plugins/leaflet-hash.js' %}"></script>
<script type="text/javascript">
// This takes HTML as a string and returns an element
function create(htmlStr) {
var frag = document.createDocumentFragment(),
@ -43,7 +43,7 @@
}
return frag;
}
// This is called when the map is initialized
function main_app_init(map, options) {
var hash = new L.hash(map);
@ -107,7 +107,7 @@
}
}).addTo(map);
});
<!--// Add an on-click listener for map click events. Show popup with button to submit a casestudy-->
<!--map.on('click', function(e) {-->
<!--var popup = L.popup()-->

View File

@ -22,7 +22,7 @@ services:
env_file:
- ./environment
command: /bin/sh -c "DEBUG=1 python3 manage.py collectstatic --noinput && python3 manage.py compilemessages && python3 manage.py migrate && gunicorn --bind 0.0.0.0:8000 ojusomap.wsgi"
db:
restart: always
image: mdillon/postgis:9.6-alpine
@ -35,7 +35,7 @@ services:
- "127.0.0.1:5432:5432"
env_file:
- ./environment
weblate:
image: weblate/weblate
links:
@ -50,14 +50,13 @@ services:
- "traefik.frontend.passHostHeader=true"
volumes:
- weblate-data:/app/data
env_file:
- ./environment
environment:
- "POSTGRES_USER=weblate"
- "POSTGRES_DATABASE=weblate"
restart: always
cache:
image: memcached:1.4
restart: always
@ -78,7 +77,6 @@ services:
- /containers/jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
weblate_static:
image: nginx:alpine
restart: always