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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31855a84c2be26b9082db844ad5a25b6a0dee36a79c9d9e19e1cbc9ebb5136c5
4
- data.tar.gz: 0f7f8e4b520227a720051786c555ce85fc4360a7eea30d4a30dbcbc6c43022c0
3
+ metadata.gz: 3d8a1e97c9ef4f47446cd94e6077b844c2a8bd7db58f28163330c0f6188592d1
4
+ data.tar.gz: a6378b02037f5f5b39fa10bdb6e761f487889a15b03f3c33bb40bc015bd19153
5
5
  SHA512:
6
- metadata.gz: 8039e382b800fb007608a7ee76067244d323494c20e5b7cc5c9f428ab13bbf04cc77a93fd0d613bf0a9907d6d19d2bbfacfd9570770d2700876f3e56bcdb9b47
7
- data.tar.gz: 689de4b0c2a1540ed8f63f16744f975cf0a9e563449f5d43493c9664b3648ffe5626b48af5c121e662e31790387b51b2dc209a73911c41fd92b2aef278c16bc8
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-04 v0.3.1
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
@@ -25,6 +25,8 @@ $ ->
25
25
  true
26
26
  $('.accordion').accordion()
27
27
 
28
+ $('[data-content],[data-html]').popup()
29
+
28
30
  $('.message .close').on 'click', ->
29
31
  $(@).closest('.message').transition('fade')
30
32
 
@@ -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&colon;<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&colon;<br>
22
+ <code>4.973122, -75.623981</code>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GeoLabels
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
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.1
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-04 00:00:00.000000000 Z
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