diff --git a/app/views/users/_resources_list.html.erb b/app/views/users/_resources_list.html.erb index 004cfee4d..ebe111507 100644 --- a/app/views/users/_resources_list.html.erb +++ b/app/views/users/_resources_list.html.erb @@ -11,9 +11,17 @@
  • <%= link_to truncate(attach.filename, :length => 30), download_named_attachment_path(attach.id, attach.filename), :title => attach.filename, :class => 'resourcesBlack resource-list-middle hidden mw280' %> - 私有 + <% if attach.is_public == 0 && @type == "6" %> + 私有 + <% end %> +
  • +
  • + <% if attach.is_public == 0 && @type == "6" %> + 请求分享 + <% else %> + -- + <% end %>
  • -
  • 请求分享
  • <%= format_date(attach.created_on) %>
  • <%= attach.quotes.nil? ? 0 : attach.quotes %>
  • <%= attach.downloads %>