scrivito_table_widget 0.7.3 → 0.7.4
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/README.md +12 -0
- data/app/views/table_widget/thumbnail.html.erb +3 -11
- data/lib/scrivito_table_widget/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0921d48d665eef12aa2e99cb9bbe03f68de7d780
|
|
4
|
+
data.tar.gz: 8df100c9f59f95e76ab45ce81654f5048c35bb6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
2
|
-
<%=
|
|
3
|
-
|
|
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 %>
|
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.
|
|
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-
|
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: scrivito
|