lit 0.4.0.pre.alpha.2 → 0.4.0.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/lit/frontend_helper.rb +5 -5
- data/lib/lit/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: 2eed64b6f3c006939c60bb3850cb780cdbaf271f
|
4
|
+
data.tar.gz: 81c8627bf675c560cc08daf9c2ed3d08064f7e29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4690ca47f19899c3a1b0d3d09c7027fc0f12f76f92cfdac3e7ebd7cd8492c1c953c4262476243f4ad8fc2c6b6b905b67dbeb1411dba553c590b62fe457825f59
|
7
|
+
data.tar.gz: 072161c067037aba2cb4627ca389dc137d89439f19c9d65cd5103b8a67e5faa2d895265a28d1009efed5e3cd667ade6f37ff144004b906c80ac21574d44b3823
|
@@ -50,8 +50,8 @@ module Lit
|
|
50
50
|
return if Thread.current[:lit_request_keys].nil?
|
51
51
|
return unless lit_authorized?
|
52
52
|
content_tag :div, class: 'lit-translations-info collapsed' do
|
53
|
-
concat content_tag
|
54
|
-
concat content_tag
|
53
|
+
concat content_tag(:span, 'Show translations', class: 'lit-open-button')
|
54
|
+
concat content_tag(:span, 'X', class: 'lit-close-button')
|
55
55
|
concat translations_list_content_tag
|
56
56
|
end
|
57
57
|
end
|
@@ -59,10 +59,10 @@ module Lit
|
|
59
59
|
def translations_list_content_tag
|
60
60
|
content_tag :ul, class: 'lit-translations-list' do
|
61
61
|
Lit.init.cache.request_keys.each do |k, v|
|
62
|
-
concat
|
63
|
-
concat content_tag
|
62
|
+
concat(content_tag(:li) do
|
63
|
+
concat content_tag(:code, "#{k}:")
|
64
64
|
concat get_translateable_span(k, v, alternative_text: '[empty]')
|
65
|
-
end
|
65
|
+
end)
|
66
66
|
end
|
67
67
|
end
|
68
68
|
end
|
data/lib/lit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.pre.alpha.
|
4
|
+
version: 0.4.0.pre.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Litwiniuk
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-11-
|
13
|
+
date: 2018-11-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: i18n
|