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
w
[pettanr/pettanr.git]
/
app
/
views
/
licenses
/
browse.html.erb
diff --git
a/app/views/licenses/browse.html.erb
b/app/views/licenses/browse.html.erb
index
97a995d
..
b9282c3
100644
(file)
--- a/
app/views/licenses/browse.html.erb
+++ b/
app/views/licenses/browse.html.erb
@@
-1,42
+1,43
@@
- <th>license_group_id</th>
- <th>name</th>
- <th>caption</th>
- <th>url</th>
- <th>system_picture_id</th>
- <th>settings</th>
-<div>
+<h1><%= t '.title' -%></h1>
+
+<p>
+ <b><%= t_m 'License.id' -%>:</b>
+ <%= @license.id %>
+</p>
<p>
<p>
-
<div>id</div
>
-
<%= @license.
id %>
+
<b><%= t_m 'License.license_group_id' -%>:</b
>
+
<%= link_to @license.license_group_id, :controller => 'license_groups', :action => :browse, :id => @license.license_group_
id %>
</p>
<p>
</p>
<p>
-
<div>license_group_id</div
>
-
<%= h @license.license_group_id
%>
+
<b><%= t_m 'License.name' -%>:</b
>
+
<%= h @license.name
%>
</p>
<p>
</p>
<p>
-
<div>name</div
>
-
<%= h @license.name
%>
+
<b><%= t_m 'License.caption' -%>:</b
>
+
<%= h @license.caption
%>
</p>
<p>
</p>
<p>
-
<div>caption</div
>
-
<%= h @license.caption
%>
+
<b><%= t_m 'License.url' -%>:</b
>
+
<%= link_to h(@license.url), @license.url
%>
</p>
<p>
</p>
<p>
-
<div>url</div
>
-
<%= h @license.url
%>
+
<b><%= t_m 'License.system_picture_id' -%>:</b
>
+
<%= link_to @license.system_picture_id, :controller => 'system_pictures', :action => :browse, :id => @license.system_picture_id
%>
</p>
</p>
-<div>system_picture_id</div>
-<%= @license.system_picture_id %>
+<p>
+ <b><%= t_m 'License.credit_pictures' -%>:</b>
+ <%= @license.credit_pictures %>
</p>
</p>
-
<div>settings</div
>
-<%= h @license.settings %>
+
<b><%= t_m 'License.settings' -%>:</b
>
+
<%= h @license.settings %>
</p>
<p>
</p>
<p>
-<%= @license.created_at %>
+ <b><%= t_m 'License.created_at' -%>:</b>
+ <%= l @license.created_at %>
</p>
<p>
</p>
<p>
-<%= @license.updated_at %>
+ <b><%= t_m 'License.updated_at' -%>:</b>
+ <%= l @license.updated_at %>
</p>
</p>
-</div>
-<%= link_to
'Back'
, :action => :list %>
+<%= link_to
t('link.back')
, :action => :list %>