OSDN Git Service

Merge branch 'v05' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v05client
[pettanr/pettanr.git] / app / views / provider_statuses / licenses_import.html.erb
1 <h1><%= t('.title') %></h1>
2 <p id="notice"><%= notice %></p>
3
4 <% if @failures == nil %>
5   <h1>No Response</h1>
6 <% elsif @failures.empty? %>
7   <h2>
8     <%= t('provider_statuses.licenses_import.success') %>
9   </h2>
10 <% else %>
11   <h2>
12     <%= t('provider_statuses.licenses_import.fail', :size => @failures.size) %>
13   </h2>
14   <table>
15     <tr>
16       <th><%= t_m 'License.caption' -%></th>
17       <th><%= t_m 'License.name' -%></th>
18     </tr>
19     <% @failures.each do |license| %>
20       <tr>
21         <td>
22           <%= link_to h(license['caption']), license['url'] %>
23         </td>
24         <td>
25           <%= h(license['name']) %>
26         </td>
27       </tr>
28     <% end %>
29   </table>
30   <%= link_to t('provider_statuses.licenses_import.to_show'), provider_status_path(@provider_status) %>
31 <% end %>