interview 0.3.2 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2458fdd68a797fee79d46ad9bb529890e9d7f19
|
4
|
+
data.tar.gz: d7bec377bd917a002bbb0326e443883fd2ec6268
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38f0b304410531da5242f822c4087fc89d4eb30d63c1113d2c4373d315fc2fff80d5ddecde5cc3cc247586a5e8b902287e0a2535288fc053d08d2cd4056f385e
|
7
|
+
data.tar.gz: 1c0567162939920f1da2ca45503b94ad8ca3b3848a6c4a6115d02d535b439c0bc65c8ef5a1e345e50e8dbc1d9ded98c378b03eb4ca3f743502b3d63fcb73d77e
|
@@ -12,14 +12,15 @@ module Interview
|
|
12
12
|
|
13
13
|
b.section html_class: 'image-gallery' do
|
14
14
|
images.each do |image|
|
15
|
-
b.link url: image.send(submethod).url(@light_box_image_style), html_class: 'img-link'
|
15
|
+
b.link url: image.send(submethod).url(@light_box_image_style), html_class: 'img-link',
|
16
|
+
html_options: { title: image.subtitle } do
|
16
17
|
b << h.image_tag(image.send(submethod).url(image_style), class: 'img-thumb')
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
20
21
|
end
|
21
22
|
|
22
|
-
def build_write(b)
|
23
|
+
def build_write(b) # todo: delete
|
23
24
|
object = @object || find_attribute(:object)
|
24
25
|
submethod = @submethod || 'attachment'
|
25
26
|
image_style = @image_style || :thumb
|
@@ -3,13 +3,13 @@ module Interview
|
|
3
3
|
|
4
4
|
def build(b)
|
5
5
|
b.section html_class: 'blueimp-gallery', html_options: { id: 'blueimp-gallery' } do
|
6
|
-
b.section html_class:
|
7
|
-
b.section html_class:
|
8
|
-
b.text text: '‹', style: 'a', html_class:
|
9
|
-
b.text text: '›', style: 'a', html_class:
|
10
|
-
b.text text: '×', style: 'a', html_class:
|
11
|
-
b.text style: 'a', html_class:
|
12
|
-
b.section style: 'ol', html_class:
|
6
|
+
b.section html_class: 'slides'
|
7
|
+
b.section style: 'h3', html_class: 'title'
|
8
|
+
b.text text: '‹', style: 'a', html_class: 'prev'
|
9
|
+
b.text text: '›', style: 'a', html_class: 'next'
|
10
|
+
b.text text: '×', style: 'a', html_class: 'close'
|
11
|
+
b.text style: 'a', html_class: 'play-pause'
|
12
|
+
b.section style: 'ol', html_class: 'indicator'
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -5,7 +5,7 @@ module Interview
|
|
5
5
|
assoc_object = find_attribute! :assoc_object
|
6
6
|
assoc_method = find_attribute!(:assoc_method).to_s
|
7
7
|
text = h.t('views.nested_form_remove', association: assoc_object.class.human_attribute_name(assoc_method.singularize)) # todo: in view auslagern
|
8
|
-
b.link caption: text, url: '#',
|
8
|
+
b.link caption: text, url: '#', html_class: 'nested_form_remove_link'
|
9
9
|
end
|
10
10
|
|
11
11
|
end
|
data/lib/interview/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jannes Köhler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|