Sha256: 5090c71eaf05196c23e377e7c6826018314c73f82e6043ba28ab0e3d51f411d8

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

<tr id='<%= dom_id review_log %>'>
  <td ><%= review_log.id %></td>
  <td >文字</td>
  <td ><%= format_time review_log.created_at %></td>
  <td>
    <%= link_to review_log.censor_show_path, class: "text-blue-400", target: "_blank" do %>
      <%= review_log.record_type %> (<%= review_log.record_id %>)</td>
    <% end %>
  <td>
    <%= review_log.aasm_state %>
  </td>
  
  <td>
    <%= format_time review_log.operated_at %>
  </td>
  <td>
    <%= review_log.operator&.email %>
  </td>
  <td>
    <% begin %>
      <%= render partial: review_log.censor_text_partial_path, locals: { raw_data: review_log.raw_data&.with_indifferent_access || {}, operator: current_user, review_log: review_log } %>
    <% rescue NotImplementedError => e %>
      <p class='text-red-400'><%= e.message %></p>
      <p class=''>请实现 censor_text_partial_path, 并完成渲染模板</p>
    <% end %>
  </td>
  <td>
    <div class='grid grid-cols-2 gap-3 w-52'>
      <%= render "buttons", review_log: review_log %>
    </div>
  </td>
</tr>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
censor_bear-0.1.25 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.24 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.23 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.22 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.21 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.20 app/views/censor_bear/review_logs/_text_review_log_row.html.erb
censor_bear-0.1.19 app/views/censor_bear/review_logs/_text_review_log_row.html.erb