2014-07-04 03:48:33 +00:00
|
|
|
<% @patents.each do |patent| %>
|
|
|
|
<tr id="<%= dom_id patent %>" class="<%= patent.is_hidden ? "checkHide" : "" %>">
|
2015-01-20 06:46:24 +00:00
|
|
|
<td><%= patent.publish_date.strftime("%Y.%m") rescue "" %></td>
|
2014-07-04 03:48:33 +00:00
|
|
|
<td>
|
|
|
|
<%= link_to patent.patent_title, OrbitHelper.url_to_plugin_show(patent.to_param,'personal_patent').to_s, target: "blank"%>
|
|
|
|
<div class="quick-edit">
|
|
|
|
<ul class="nav nav-pills hide">
|
2014-10-02 11:58:33 +00:00
|
|
|
<li><%= link_to t('edit'), edit_admin_patent_path(patent) %></li>
|
|
|
|
<li><%= link_to t(:delete_), admin_patent_path(id: patent.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
2014-07-04 03:48:33 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><%= patent.patent_no %></td>
|
|
|
|
<td><%= patent.patent_country %></td>
|
2014-10-02 11:58:33 +00:00
|
|
|
<td><%= patent.member_profile.name rescue "" %></td>
|
2014-07-04 03:48:33 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|