circle_speech_balloon 0.0.38 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/circle_speech_balloon/balloons/_form.html.erb +1 -1
- data/app/views/circle_speech_balloon/speech_balloons/edit.html.erb +1 -1
- data/app/views/circle_speech_balloon/speech_balloons/new.html.erb +1 -1
- data/app/views/circle_speech_balloon/speech_balloons/show.html.erb +1 -66
- data/app/views/circle_speech_balloon/speeches/_form.html.erb +3 -3
- data/lib/circle_speech_balloon/version.rb +1 -1
- metadata +2 -18
@@ -3,7 +3,7 @@
|
|
3
3
|
<%= f.label :r %>
|
4
4
|
<%= f.number_field :r, balloon.field_tag_attributes(:r, no_attr, :size => 5) %>
|
5
5
|
<% if balloon.has_helper?(:r) %>
|
6
|
-
|
6
|
+
<%# render balloon.form_helper_template(:r), :elm => balloon, :no_attr => no_attr %>
|
7
7
|
<% end %>
|
8
8
|
</div>
|
9
9
|
<div class="row_break">
|
@@ -2,6 +2,6 @@
|
|
2
2
|
<p id="notice"><%= notice %></p>
|
3
3
|
|
4
4
|
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :
|
5
|
+
<%= render 'panels/standard', :panel => @panel, :operators => @operators %>
|
6
6
|
<h2><%= t('speech_balloons.update_speech_balloon') -%></h2>
|
7
7
|
<%= render @speech_balloon.form_template, :elm => @speech_balloon, :no_attr => 0 %>
|
@@ -2,6 +2,6 @@
|
|
2
2
|
<p id="notice"><%= notice %></p>
|
3
3
|
|
4
4
|
<h2><%= t('home.index.catch') -%></h2>
|
5
|
-
<%= render 'panels/standard', :panel => @panel, :
|
5
|
+
<%= render 'panels/standard', :panel => @panel, :operators => @operators %>
|
6
6
|
<h2><%= t('speech_balloons.create_speech_balloon') -%></h2>
|
7
7
|
<%= render @speech_balloon.form_template, :elm => @speech_balloon, :no_attr => 0 %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<h1><%= t('.title') %></h1>
|
2
2
|
<p id="notice"><%= notice %></p>
|
3
3
|
|
4
|
-
<%= render 'speech_balloons/standard', :panel => @speech_balloon.panel, :
|
4
|
+
<%= render 'speech_balloons/standard', :panel => @speech_balloon.panel, :operators => @operators, :spot => @speech_balloon %>
|
5
5
|
|
6
6
|
<p>
|
7
7
|
<b><%= t_m 'SpeechBalloon.caption' -%>:</b>
|
@@ -13,71 +13,6 @@
|
|
13
13
|
<%= link_to h(@speech_balloon.speech_balloon_template.caption), @speech_balloon.speech_balloon_template %>
|
14
14
|
</p>
|
15
15
|
|
16
|
-
<p>
|
17
|
-
<b><%= t_m 'SpeechBalloon.classname' -%>:</b>
|
18
|
-
<%= @speech_balloon.classname %>
|
19
|
-
</p>
|
20
|
-
|
21
|
-
<p>
|
22
|
-
<b><%= t_m 'SpeechBalloon.z' -%>:</b>
|
23
|
-
<%= @speech_balloon.z %>
|
24
|
-
</p>
|
25
|
-
|
26
|
-
<p>
|
27
|
-
<b><%= t_m 'SpeechBalloon.t' -%>:</b>
|
28
|
-
<%= @speech_balloon.t %>
|
29
|
-
</p>
|
30
|
-
|
31
|
-
<p>
|
32
|
-
<b><%= t_m 'Balloon.x' -%>:</b>
|
33
|
-
<%= @speech_balloon.balloon.x %>
|
34
|
-
</p>
|
35
|
-
|
36
|
-
<p>
|
37
|
-
<b><%= t_m 'Balloon.y' -%>:</b>
|
38
|
-
<%= @speech_balloon.balloon.y %>
|
39
|
-
</p>
|
40
|
-
|
41
|
-
<p>
|
42
|
-
<b><%= t_m 'Balloon.width' -%>:</b>
|
43
|
-
<%= @speech_balloon.balloon.width %>
|
44
|
-
</p>
|
45
|
-
|
46
|
-
<p>
|
47
|
-
<b><%= t_m 'Balloon.height' -%>:</b>
|
48
|
-
<%= @speech_balloon.balloon.height %>
|
49
|
-
</p>
|
50
|
-
|
51
|
-
<p>
|
52
|
-
<b><%= t_m 'Balloon.r' -%>:</b>
|
53
|
-
<%= @speech_balloon.balloon.r %>
|
54
|
-
</p>
|
55
|
-
|
56
|
-
<p>
|
57
|
-
<b><%= t_m 'Speech.content' -%>:</b>
|
58
|
-
<%= @speech_balloon.speech.content %>
|
59
|
-
</p>
|
60
|
-
|
61
|
-
<p>
|
62
|
-
<b><%= t_m 'Speech.x' -%>:</b>
|
63
|
-
<%= @speech_balloon.speech.x %>
|
64
|
-
</p>
|
65
|
-
|
66
|
-
<p>
|
67
|
-
<b><%= t_m 'Speech.y' -%>:</b>
|
68
|
-
<%= @speech_balloon.speech.y %>
|
69
|
-
</p>
|
70
|
-
|
71
|
-
<p>
|
72
|
-
<b><%= t_m 'Speech.width' -%>:</b>
|
73
|
-
<%= @speech_balloon.speech.width %>
|
74
|
-
</p>
|
75
|
-
|
76
|
-
<p>
|
77
|
-
<b><%= t_m 'Speech.height' -%>:</b>
|
78
|
-
<%= @speech_balloon.speech.height %>
|
79
|
-
</p>
|
80
|
-
|
81
16
|
<p>
|
82
17
|
<b><%= t_m 'SpeechBalloon.created_at' -%>:</b>
|
83
18
|
<%= l @speech_balloon.created_at %>
|
@@ -3,14 +3,14 @@
|
|
3
3
|
<%= f.collection_select :writing_format_id, WritingFormat.list.map {|l| [l.caption, l.id] }, *speech.select_tag_attributes(speech.writing_format_id, :writing_format_id, no_attr) %>
|
4
4
|
|
5
5
|
<%= f.label :font_size %>
|
6
|
-
<%= f.collection_select :font_size, t_select_items(
|
6
|
+
<%= f.collection_select :font_size, t_select_items(manifest.select_items['magic_number']['speech_font_size_items']), *speech.select_tag_attributes(speech.font_size, :font_size, no_attr) %>
|
7
7
|
</div>
|
8
8
|
<div class="row_break">
|
9
9
|
</div>
|
10
10
|
|
11
11
|
<div class="field">
|
12
12
|
<%= f.label :text_align %>
|
13
|
-
<%= f.collection_select :text_align, t_select_items(
|
13
|
+
<%= f.collection_select :text_align, t_select_items(manifest.select_items['magic_number']['speech_text_align_items']), *speech.select_tag_attributes(speech.text_align, :text_align, no_attr) %>
|
14
14
|
|
15
15
|
<%= f.label :quotes %>
|
16
16
|
<%= f.text_field :quotes, speech.field_tag_attributes(:quotes, no_attr, :size => 5) %>
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<%= f.text_field :fore_color, speech.field_tag_attributes(:fore_color, no_attr, :size => 8) %>
|
31
31
|
<% if speech.has_helper?(:fore_color) %>
|
32
32
|
<div class="speech-fore_color-wrap">
|
33
|
-
|
33
|
+
<%# render speech.form_helper_template(:fore_color), :elm => speech, :no_attr => no_attr %>
|
34
34
|
</div>
|
35
35
|
<% end %>
|
36
36
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circle_speech_balloon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.50
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 3.1.1
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.1.1
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: sqlite3
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|