pattana 0.1.23 → 0.1.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb1a9385a42c65edb79f7c2934b59cdff58fd39cc37d0c121778a2a379a6b45d
|
4
|
+
data.tar.gz: 2fad52af4adf5bf7f43a3589815bacad2010134f195ff924070ff1e2f11b1075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 152989f94a769e3fd3d298fdb448ea2bb438482eb0a8d598ad606030a7362435a5cbc0fdc244ccc105e048ed1834007f8d5ec89e8f2c0689051c50c771e2ab95
|
7
|
+
data.tar.gz: b4394266fa6690ebceafb9ca083e6d87c81044ba130dc5003cc56dd1ed38519e1b401c6357c365c7d67f5e2092098806ff41ca1a588f2f05e0bde1eb69fe11e2
|
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
<td class="text-align-left"><%= link_to country.name, pattana.country_path(country), remote: true %></td>
|
31
31
|
|
32
|
-
<td class="text-align-center"><%= country.
|
32
|
+
<td class="text-align-center"><%= country.display_show_in_api %></td>
|
33
33
|
|
34
34
|
<td class="text-align-center"><%= country.display_operational %></td>
|
35
35
|
|
@@ -2,12 +2,18 @@
|
|
2
2
|
<% delete_link = country_path(id: country.id) %>
|
3
3
|
|
4
4
|
<tr id="tr_country_<%= country.id %>">
|
5
|
-
|
5
|
+
|
6
6
|
<td class="text-align-center"><%= country.id %></td>
|
7
|
+
|
8
|
+
<td class="user-image">
|
9
|
+
<%= link_to(pattana.country_path(country), remote: true) do %>
|
10
|
+
<%= display_image(country, "flag_image.image.small.url", width: "120", height: "auto", class: "img-rectangle", alt: country.name) %>
|
11
|
+
<% end %>
|
12
|
+
</td>
|
7
13
|
|
8
14
|
<td class="text-align-left"><%= link_to country.name, pattana.country_path(country), remote: true %></td>
|
9
15
|
|
10
|
-
<td class="text-align-center"><%= country.
|
16
|
+
<td class="text-align-center"><%= country.display_show_in_api %></td>
|
11
17
|
|
12
18
|
<td class="text-align-center"><%= country.display_operational %></td>
|
13
19
|
|
@@ -47,10 +47,10 @@
|
|
47
47
|
|
48
48
|
<% if @country.operational? %>
|
49
49
|
<!-- Hide in API -->
|
50
|
-
<%= link_to raw("<i class=\"fa fa-toggle-off mr-5\"></i>
|
50
|
+
<%= link_to raw("<i class=\"fa fa-toggle-off mr-5\"></i> Remove Operational"), remove_operational_country_path(:id => @country.id), :remote=>true, class: "btn btn-block btn-danger btn-only-hover" %>
|
51
51
|
<% else %>
|
52
52
|
<!-- Show in API -->
|
53
|
-
<%= link_to raw("<i class=\"fa fa-toggle-on mr-5\"></i>
|
53
|
+
<%= link_to raw("<i class=\"fa fa-toggle-on mr-5\"></i> Mark as Operational"), mark_as_operational_country_path(:id => @country.id), :remote=>true, class: "btn btn-block btn-success btn-only-hover" %>
|
54
54
|
<% end %>
|
55
55
|
|
56
56
|
<% edit_link = edit_country_path(id: @country.id) %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<% delete_link = region_path(id: region.id) %>
|
3
3
|
|
4
4
|
<tr id="tr_region_<%= region.id %>">
|
5
|
-
|
5
|
+
|
6
6
|
<td class="region-id text-align-center"><%= region.id %></td>
|
7
7
|
|
8
8
|
<td class="region-name text-align-left"><%= link_to region.name, pattana.region_path(region), remote: true %></td>
|
data/lib/pattana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pattana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kpvarma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|