OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t#30266:oplg i18n
[pettanr/pettanr.git]
/
app
/
views
/
home
/
panel_color.html.erb
diff --git
a/app/views/home/panel_color.html.erb
b/app/views/home/panel_color.html.erb
index
e6a9fa2
..
1af79fc
100644
(file)
--- a/
app/views/home/panel_color.html.erb
+++ b/
app/views/home/panel_color.html.erb
@@
-1,19
+1,15
@@
-<h1>
Listing Panel Colors
</h1>
+<h1>
<%= t '.title' -%>
</h1>
<table>
<tr>
<table>
<tr>
- <th>id</th>
- <th>panel_id</th>
- <th>code</th>
- <th>z</th>
+ <th><%= t_m 'PanelColor.panel_id' -%></th>
+ <th><%= t_m 'PanelColor.code' -%></th>
+ <th><%= t_m 'PanelColor.z' -%></th>
+ <th><%= t_m 'PanelColor.created_at' -%></th>
+ <th><%= t_m 'PanelColor.updated_at' -%></th>
</tr>
</tr>
-<% @panel_colors.each do |pc| %>
- <tr>
- <td><%= pc.id %></td>
- <td><%= link_to pc.panel_id, panel_path(pc.panel_id) %></td>
- <td><%= pc.code %><font color="<%= pc.code %>">*****</font></td>
- <td><%= pc.z %></td>
- </tr>
-<% end -%>
+ <% @panel_colors.each do |pc| %>
+ <%= render 'list_item', :panel_color => pc %>
+ <% end -%>
</table>
</table>