|
|
|
@ -48,11 +48,11 @@
|
|
|
|
|
|
|
|
|
|
<% unless is_processed %>
|
|
|
|
|
<td>
|
|
|
|
|
<% if File.exists?(disk_professional_auth_filename(user.id)) %>
|
|
|
|
|
<%= image_tag(professional_auth_file_url(user.id).to_s + "?#{Time.now.to_i}", width: 40, height: 40, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= content_tag(:span, '图片已删除', class: 'text-secondary') %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# if apply.attachment %>
|
|
|
|
|
<%= image_tag("/api/attachments/#{apply.attachment.id}", width: 40, height: 40, class: 'preview-image auth-image', data: { toggle: 'tooltip', title: '点击预览' }) %>
|
|
|
|
|
<%# else %>
|
|
|
|
|
<%#= content_tag(:span, '图片已删除', class: 'text-secondary') %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
</td>
|
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|