scrivito_table_widget 0.7.3 → 0.7.4

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
  SHA1:
3
- metadata.gz: d0056373ca9138cbbc2141c934f86aabb4e13d51
4
- data.tar.gz: 023e038a142148e9dff0894dbf60335b3a4fb5dc
3
+ metadata.gz: 0921d48d665eef12aa2e99cb9bbe03f68de7d780
4
+ data.tar.gz: 8df100c9f59f95e76ab45ce81654f5048c35bb6d
5
5
  SHA512:
6
- metadata.gz: d4566565dc67d2c3a6e8375b7fb267d4a1975fad0cde6178ddc037b2341ff38cf369f089f1d3bd3186605a17eb3143cf57362f5e1f31162537a624cf62e3cf66
7
- data.tar.gz: 42e6791970ef0182b84897babca88e8ea6ff96ae4f5b504efc2cfa09679eb48ac3f13167b747f785e10e32f1689ec90b1f11656a6a074f66e1e70398645331f0
6
+ metadata.gz: a6ec02519d5321aff999a8da8c84096355b5a569c9b3358fa7b0923c46342f640e71d7a3a561b11f6ce33d55631a4ca71ac044f06c06db90e36f8fd611f112e6
7
+ data.tar.gz: 3416394b24b0a7510b6666473c7bde90fcb76fb2fc5441fc126cd2df0a79048d7b0e731abc94b223c3f6451fcaadc221c79eed2720f95a2b8250b4812409f391
data/README.md CHANGED
@@ -33,3 +33,15 @@ $.fn.edittable.defaults.colorClasses = ['your', 'background', 'class', 'names']
33
33
  ```
34
34
 
35
35
  Please make sure, that you have set the background colors for the named class in your css.
36
+
37
+ ## Localization
38
+
39
+ The following code represents the default localization for English. Copy it to your `en.yml` and change it if necessary:
40
+
41
+ ```yaml
42
+ en:
43
+ scrivito_table_widget:
44
+ thumbnail:
45
+ title: Table
46
+ description: Add an inline editable table to your page
47
+ ```
@@ -1,11 +1,3 @@
1
- <div class="scrivito_editing_widget_visualization">
2
- <%= image_tag("table.png") %>
3
- </div>
4
-
5
- <div class="scrivito_editing_widget_title">
6
- Table
7
- </div>
8
-
9
- <div class="scrivito_editing_widget_description">
10
- Add an inline editable table to your page.
11
- </div>
1
+ <%= scrivito_thumbnail t('scrivito_table_widget.thumbnail.title', default: 'Table'), image_tag("table.png") do %>
2
+ <%= t('scrivito_table_widget.thumbnail.description', default: 'Add an inline editable table to your page')%>
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoTableWidget
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_table_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-01 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito