X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fspeech_balloons%2Fshow.html.erb;h=b16e22163bf94707d58bf04f9e0697515649b544;hb=32011a831d9b226af0ee586c91ca5c5225048976;hp=e5e0b5a628cb67299c2e7fd39c69fdb7ee28b74b;hpb=d30ced24dbafe626e2fa3dc603974b0ade875c25;p=pettanr%2Fpettanr.git diff --git a/app/views/speech_balloons/show.html.erb b/app/views/speech_balloons/show.html.erb index e5e0b5a6..b16e2216 100644 --- a/app/views/speech_balloons/show.html.erb +++ b/app/views/speech_balloons/show.html.erb @@ -1,98 +1,14 @@
<%= notice %>
-<%= render 'speech_balloons/standard', :panel => @speech_balloon.panel, :author => @author, :spot => @speech_balloon %> +<%= render 'speech_balloons/standard', :panel => @speech_balloon.panel, :operators => @operators, :spot => @speech_balloon %><%= t_m 'SpeechBalloon.caption' -%>: <%= h @speech_balloon.caption %>
-- <%= t_m 'SpeechBalloon.speech_balloon_template_id' -%>: - <%= link_to h(@speech_balloon.speech_balloon_template.caption), @speech_balloon.speech_balloon_template %> -
- -- <%= t_m 'SpeechBalloon.classname' -%>: - <%= @speech_balloon.classname %> -
- -- <%= t_m 'SpeechBalloon.z' -%>: - <%= @speech_balloon.z %> -
- -- <%= t_m 'SpeechBalloon.t' -%>: - <%= @speech_balloon.t %> -
- -<% if @speech_balloon.balloon %> -- <%= t_m 'Balloon.x' -%>: - <%= @speech_balloon.balloon.x %> -
- -- <%= t_m 'Balloon.y' -%>: - <%= @speech_balloon.balloon.y %> -
- -- <%= t_m 'Balloon.width' -%>: - <%= @speech_balloon.balloon.width %> -
- -- <%= t_m 'Balloon.height' -%>: - <%= @speech_balloon.balloon.height %> -
- -- <%= t_m 'Balloon.r' -%>: - <%= @speech_balloon.balloon.r %> -
-<% end %> - -<% if @speech_balloon.speech %> -- <%= t_m 'Speech.content' -%>: - <%= @speech_balloon.speech.content %> -
- -- <%= t_m 'Speech.x' -%>: - <%= @speech_balloon.speech.x %> -
- -- <%= t_m 'Speech.y' -%>: - <%= @speech_balloon.speech.y %> -
- -- <%= t_m 'Speech.width' -%>: - <%= @speech_balloon.speech.width %> -
- -- <%= t_m 'Speech.height' -%>: - <%= @speech_balloon.speech.height %> -
-<% end %> - -- <%= t_m 'SpeechBalloon.created_at' -%>: - <%= l @speech_balloon.created_at %> -
- -- <%= t_m 'SpeechBalloon.updated_at' -%>: - <%= l @speech_balloon.updated_at %> -
- <%= link_to t('link.edit'), edit_speech_balloon_path(@speech_balloon) %> <%= link_to t('link.destroy'), speech_balloon_path(@speech_balloon), :method => :delete %> -<%= render 'copy', :speech_balloon => @speech_balloon, :author => @author %> +<%= render 'panels/element_copy', :element => @speech_balloon, :operators => @operators %>