OSDN Git Service

classname rename to module_name
[pettanr/pettanr.git] / app / views / licenses / show.html.erb
1 <h1>
2   <%= link_to icon_tag('License'), license_path(@item) %>
3   <%= link_to h(@item.caption_with_group), license_path(@item) %>
4   <%= link_to icon_tag('Prof'), license_path(@item, :format => :prof) %>
5 </h1>
6
7 <p>
8   <b><%= t_m 'License.license_group_id' -%>:</b>
9   <%= link_to h(@item.license_group.caption), license_group_path(@item.license_group) %>
10 </p>
11 <p>
12   <b><%= t_m 'License.name' -%>:</b>
13   <%= h @item.name %>
14 </p>
15 <p>
16   <b><%= t_m 'License.url' -%>:</b>
17   <%= link_to h(@item.url), @item.url %>
18 </p>
19 <p>
20   <b><%= t_m 'License.created_at' -%>:</b>
21   <%= l @item.created_at %>
22 </p>
23 <p>
24   <b><%= t_m 'License.updated_at' -%>:</b>
25   <%= l @item.updated_at %>
26 </p>
27
28 <% if @item.own? @operators -%>
29   <h3><%= t('editor') -%></h3>
30   <p id="notice"><%= notice %></p>
31   
32   <p>
33     <%= link_to t('link.edit'), edit_license_path(@item) %>
34     <%= link_to t('link.destroy'), license_path(@item), :method => :delete %>
35   </p>
36   
37 <% end %>