From cb254b208b8901c119ec05faa41b76f618d145da Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 21 Feb 2020 22:12:35 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E9=A2=98=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shared/_list.html.erb | 25 +- public/quill/quill.bubble.css | 952 ++ public/quill/quill.js | 11489 ++++++++++++++++ public/quill/quill.min.js | 8 + public/quill/quill.snow.css | 945 ++ 5 files changed, 13416 insertions(+), 3 deletions(-) create mode 100644 public/quill/quill.bubble.css create mode 100644 public/quill/quill.js create mode 100644 public/quill/quill.min.js create mode 100644 public/quill/quill.snow.css diff --git a/app/views/admins/item_authentications/shared/_list.html.erb b/app/views/admins/item_authentications/shared/_list.html.erb index 34e29d845..0c6b4cfa9 100644 --- a/app/views/admins/item_authentications/shared/_list.html.erb +++ b/app/views/admins/item_authentications/shared/_list.html.erb @@ -1,4 +1,9 @@ <% is_processed = params[:status].to_s != 'pending' %> + +
+ +<%= raw [user.school_name.presence, user.department_name.presence].compact.join(' ') %> |
<% if item.item_type == "PROGRAM" %> - <%= link_to item.name, "/problems/#{item.container&.identifier}/edit", class: "d-inline-block text-truncate", + <%= link_to item.name, "/problems/#{item.container&.identifier}/edit", id: "item_name_#{index}", class: "d-inline-block text-truncate", style: "max-width: 280px", target: "_blank", data: { toggle: 'tooltip', title: "#{item.name}"} %> <% else %> - <%= link_to item.name, admins_item_authentication_path(apply), remote: true, class: "d-inline-block text-truncate", + <%= link_to item.name, admins_item_authentication_path(apply), remote: true, id: "item_name_#{index}", class: "d-inline-block text-truncate", style: "max-width: 280px", data: { toggle: 'tooltip', title: "#{item.name}"} %> <% end %> | @@ -59,4 +64,18 @@