scrivito_linklist_widget 1.1.2 → 1.1.3

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: cb4fd166dbb2ca4f06f888cad2378f9eaa0385da
4
- data.tar.gz: 9c8069e0534c81637dd01d02ae1e847cb665f579
3
+ metadata.gz: bd1f307e7c6db953e6f4675027c6f58185aa8c07
4
+ data.tar.gz: 5bd409cb158f8a715f833c6286a0207df0d4983a
5
5
  SHA512:
6
- metadata.gz: 4be8fc536ffb0fdd4b61b9b00d93fb3f061cfc0c0eb04300dec232ddee1f5352e84adc416acaea500ab530ff324d991c849a57f40ba075db8067254552adc3b6
7
- data.tar.gz: 9f4833882225a909c05babd27e0f174f6fe9758efe69285b5537611c56a6833da35732b4c90b07f2700fdafd02c51d8c949b5b21b286bd9820b85ab40ed20335
6
+ metadata.gz: 6160776dca1994d25fe9560fa41bd8aa028dc25490bbfbbdc35f45f62c9b562ed225c4bb7e4203eb2ae48cc83483828ef09be726e4a1c0c7873b0bd93b276a4e
7
+ data.tar.gz: c31a6be8a039019c013ed65a2f73794bfc0111e66e20e2c9fff9561720eed0b71fba9ebedc4e2db65bf704e857aa14015501852fbd91f0ef30f09f28c2a12dc9
@@ -1,7 +1,3 @@
1
1
  <li class="<%= widget.show_as_css? ? link.title : '' %>">
2
- <% if link.url %>
3
- <%= link_to link.title, link.url %>
4
- <% else %>
5
- <%= link.title %>
6
- <% end %>
2
+ <%= link_to link.title, link.external? ? link.url : scrivito_path(link.obj), target: link.target %>
7
3
  </li>
@@ -1,3 +1,3 @@
1
1
  module ScrivitoLinklistWidget
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_linklist_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-04 00:00:00.000000000 Z
11
+ date: 2017-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: scrivito