scrivito_linklist_widget 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/widgets/scrivito_linklist_widget.png +0 -0
- data/app/views/linklist_widget/details.html.erb +2 -2
- data/app/views/linklist_widget/thumbnail.html.erb +3 -13
- data/lib/scrivito_linklist_widget/version.rb +1 -1
- metadata +3 -31
- data/scrivito/migrate/0_create_linklist_widget.rb +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eacd4a8774f91bb03bd8418336a75f3beb87b9fe
|
4
|
+
data.tar.gz: e8bd2e2898700ac50f3845610bee53b9dd41d46d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f20eb130fc51281ec0f20b5b12af30f605283242c1edaf2cc0dd8690cbf9f429a79297521a0519116383fa5c664bfc54745ad3b00bb166c93c20528aad55c2f
|
7
|
+
data.tar.gz: 3c430fff96010ef0ff261ac1666e824c361df08196761c258b436da09d97d28d69928b4b11404b431d759ae2a9888d9412d1964918e7893e40884d51274f87c9
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<%= scrivito_details_for 'Use link title as CSS class' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_linklist_widget.details.show_as_css', default: 'Use link title as CSS class') do %>
|
2
2
|
<%= scrivito_tag(:div, widget, :show_as_css) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Links' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_linklist_widget.details.links', default: 'Links') do %>
|
6
6
|
<%= scrivito_tag(:div, widget, :links) %>
|
7
7
|
<% end %>
|
@@ -1,13 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="title">
|
7
|
-
Linklist Widget
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="description">
|
11
|
-
Create a Linklist for your page.
|
12
|
-
</div>
|
13
|
-
</div>
|
1
|
+
<%= scrivito_thumbnail t('scrivito_linklist_widget.thumbnail.title', default: 'Linklist'), image_tag('widgets/scrivito_linklist_widget.png') do %>
|
2
|
+
<%= t('scrivito_linklist_widget.thumbnail.description', default: 'Add a Linklist for your page') %>
|
3
|
+
<% end %>
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_linklist_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: scrivito
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,20 +24,6 @@ dependencies:
|
|
38
24
|
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
27
|
description: Widget to show a link list as list with text or css class.
|
56
28
|
email:
|
57
29
|
- support@scrivito.com
|
@@ -61,6 +33,7 @@ extra_rdoc_files: []
|
|
61
33
|
files:
|
62
34
|
- LICENSE
|
63
35
|
- Rakefile
|
36
|
+
- app/assets/images/widgets/scrivito_linklist_widget.png
|
64
37
|
- app/models/linklist_widget.rb
|
65
38
|
- app/views/linklist_widget/details.html.erb
|
66
39
|
- app/views/linklist_widget/show.html.erb
|
@@ -69,7 +42,6 @@ files:
|
|
69
42
|
- lib/scrivito_linklist_widget/engine.rb
|
70
43
|
- lib/scrivito_linklist_widget/version.rb
|
71
44
|
- lib/tasks/scrivito_linklist_widget_tasks.rake
|
72
|
-
- scrivito/migrate/0_create_linklist_widget.rb
|
73
45
|
homepage: https://www.scrivito.com
|
74
46
|
licenses:
|
75
47
|
- LGPL-3.0
|
@@ -1,14 +0,0 @@
|
|
1
|
-
class CreateLinklistWidget < ::Scrivito::Migration
|
2
|
-
def up
|
3
|
-
Scrivito::ObjClass.create(
|
4
|
-
name: 'LinklistWidget',
|
5
|
-
type: 'publication',
|
6
|
-
is_binary: false,
|
7
|
-
title: 'Linklist Widget',
|
8
|
-
attributes: [
|
9
|
-
{name: "links", type: "linklist"},
|
10
|
-
{name: "show_as_css", type: "enum", values: ["Yes","No"]}
|
11
|
-
]
|
12
|
-
)
|
13
|
-
end
|
14
|
-
end
|