OSDN Git Service

w
[pettanr/pettanr.git] / app / views / speech_balloons / browse.html.erb
index 154e592..7cf8828 100644 (file)
@@ -1,31 +1,49 @@
+<h1><%= t '.title' -%></h1>
 <p id="notice"><%= notice %></p>
 
 <p>
-  <b>Name:</b>
-  <%= h @speech_balloon.name %>
+  <b><%= t_m 'SpeechBalloon.id' -%>:</b>
+  <%= @speech_balloon.id %>
 </p>
 
 <p>
-  <b>Tail count:</b>
-  <%= @speech_balloon.tail_count %>
+  <b><%= t_m 'SpeechBalloon.panel_id' -%>:</b>
+  <%= link_to @speech_balloon.panel_id, browse_panel_path(@speech_balloon.panel) %>
 </p>
 
 <p>
-  <b>size count:</b>
-  <%= @speech_balloon.size_count %>
+  <b><%= t_m 'SpeechBalloon.speech_balloon_template_id' -%>:</b>
+  <%= link_to @speech_balloon.speech_balloon_template_id, browse_speech_balloon_template_path(@speech_balloon.speech_balloon_template) %>
 </p>
 
 <p>
-  <b>t:</b>
+  <b><%= t_m 'SpeechBalloon.classname' -%>:</b>
+  <%= h @speech_balloon.classname %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.z' -%>:</b>
+  <%= @speech_balloon.z %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.t' -%>:</b>
   <%= @speech_balloon.t %>
 </p>
-<% @speech_balloon.balloon_templates.each do |balloon_template| -%>\r
-  <div>\r
-    <p>\r
-      Tail:<%= balloon_template.tail -%>\r
-      Size:<%= balloon_template.size -%>\r
-    </p>\r
-    <img src="<%= balloon_template.system_picture.url -%>" />\r
-  </div>\r
-<% end -%>\r
-<%= link_to 'Back', :action => :list %>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.settings' -%>:</b>
+  <%= h @speech_balloon.settings %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.created_at' -%>:</b>
+  <%= l @speech_balloon.created_at %>
+</p>
+
+<p>
+  <b><%= t_m 'SpeechBalloon.updated_at' -%>:</b>
+  <%= l @speech_balloon.updated_at %>
+</p>
+
+<%= link_to t('link.back'), :action => :list %>