mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 04:49:30 +00:00
Default values [skip ci]
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
{% if Input.old('latitude') %}
|
{% if Input.old('latitude') %}
|
||||||
var latitude = {{ Input.old('latitude') }};
|
var latitude = {{ Input.old('latitude') }};
|
||||||
{% else %}
|
{% else %}
|
||||||
var latitude = {{ tag.latitude }};
|
var latitude = {{ tag.latitude|default("52.3167") }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if (Input.old('latitude') and Input.old('longitude') and Input.old('zoomLevel'))
|
{% if (Input.old('latitude') and Input.old('longitude') and Input.old('zoomLevel'))
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
{% if Input.old('longitude') %}
|
{% if Input.old('longitude') %}
|
||||||
var longitude = "{{ Input.old('longitude') }}";
|
var longitude = "{{ Input.old('longitude') }}";
|
||||||
{% else %}
|
{% else %}
|
||||||
var longitude = {{ tag.longitude }};
|
var longitude = {{ tag.longitude|default("5.5500") }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if Input.old('zoomLevel') %}
|
{% if Input.old('zoomLevel') %}
|
||||||
var zoomLevel = {{ Input.old('zoomLevel') }};
|
var zoomLevel = {{ Input.old('zoomLevel') }};
|
||||||
{% else %}
|
{% else %}
|
||||||
var zoomLevel = {{ tag.zoomLevel }};
|
var zoomLevel = {{ tag.zoomLevel|default("6") }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
var apiKey = "{{ apiKey }}";
|
var apiKey = "{{ apiKey }}";
|
||||||
|
|||||||
Reference in New Issue
Block a user