geo_labels 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/app/assets/javascripts/geo_labels/application.coffee +2 -0
- data/app/views/geo_labels/contacts/_form.html.slim +7 -0
- data/config/locales/geo_labels.en.yml +7 -0
- data/config/locales/geo_labels.es.yml +8 -0
- data/lib/geo_labels/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d8a1e97c9ef4f47446cd94e6077b844c2a8bd7db58f28163330c0f6188592d1
|
|
4
|
+
data.tar.gz: a6378b02037f5f5b39fa10bdb6e761f487889a15b03f3c33bb40bc015bd19153
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d78074f90bdace9bdb52da398d2f9a3bf057b6ef243e9eb4fdafc4397e2a62ad751bafeb605ba96a8900bdbfa7e20dbbbd953099793944550de3b5b8fa50b62c
|
|
7
|
+
data.tar.gz: 994ea71eecb76637ad3711b3afbf7e2c166ed6c189e2e89664f8f76a2578995574926e729adb3a0885d80e0e75eb05327e6bf4e441d506d0282011dfb6217d15
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
CHANGELOG of geo\_labels
|
|
2
2
|
============================
|
|
3
3
|
|
|
4
|
-
2023-09-
|
|
4
|
+
2023-09-07 v0.3.2
|
|
5
|
+
-------------------------
|
|
6
|
+
* Add manual Google maps copy-paste string input option for complex locations
|
|
7
|
+
|
|
8
|
+
2023-09-05 v0.3.1
|
|
5
9
|
-------------------------
|
|
6
10
|
* Better navigation connections
|
|
7
11
|
* Fix the contact show map feature
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
.field
|
|
40
40
|
label= at :description
|
|
41
41
|
= f.text_field :description
|
|
42
|
+
.field
|
|
43
|
+
.ui.compact.accordion
|
|
44
|
+
.title
|
|
45
|
+
i.dropdown.icon
|
|
46
|
+
=> t('geo_labels.manual_lat_lng.title')
|
|
47
|
+
i.info.icon data-html=t('geo_labels.manual_lat_lng.explanation', default: 'missing translation geo_labels.manual_lat_lng.explanation') data-variation='wide'
|
|
48
|
+
.content= f.text_field :lat_lng
|
|
42
49
|
.ui.attached.segment
|
|
43
50
|
.ui.fluid.multiple.search.selection.dropdown
|
|
44
51
|
= f.hidden_field :label_ids, value: @record.label_ids.join(',')
|
|
@@ -4,3 +4,10 @@ en:
|
|
|
4
4
|
import: Import
|
|
5
5
|
tree_title: Tree
|
|
6
6
|
select_labels_text: Select %{models} and search...
|
|
7
|
+
manual_lat_lng:
|
|
8
|
+
title: Manual location
|
|
9
|
+
explanation: >
|
|
10
|
+
Sometimes an address cannot be geocoded.<br>
|
|
11
|
+
Then a Google maps can give a location string <br>
|
|
12
|
+
That can be copy pasted here. Example:<br>
|
|
13
|
+
<code>4.973122, -75.623981</code>
|
|
@@ -12,3 +12,11 @@ es:
|
|
|
12
12
|
import: Importar
|
|
13
13
|
tree_title: Árbol
|
|
14
14
|
select_labels_text: Seleccionar %{models} y busca...
|
|
15
|
+
manual_lat_lng:
|
|
16
|
+
title: Ubicación manuál
|
|
17
|
+
explanation: >
|
|
18
|
+
A veces una dirección no se puede convertir en
|
|
19
|
+
una ubicación. <br>
|
|
20
|
+
Pues en Google maps se puede copiar y pegar<br>
|
|
21
|
+
coordinatos manuál. Ejemplo:<br>
|
|
22
|
+
<code>4.973122, -75.623981</code>
|
data/lib/geo_labels/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geo_labels
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Benjamin ter Kuile
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-09-
|
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: awesome_nested_set
|