From b31e250940d93360e5cb51c8dd64f19771d08cdd Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 30 Aug 2019 13:48:36 +0800 Subject: [PATCH 01/24] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=96=B0=E5=A2=9E=E6=96=87=E4=BB=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 2 +- config/routes.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 78e6cc0f0..23e64b740 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -3,7 +3,7 @@ class ShixunsController < ApplicationController include ApplicationHelper before_action :require_login, :check_auth, except: [:download_file, :index, :menus, :show, :show_right, :ranking_list, - :discusses, :collaborators, :fork_list, :propaedeutics] + :discusses, :collaborators, :fork_list, :propaedeutics, :add_file] before_action :check_account, only: [:new, :create, :shixun_exec] diff --git a/config/routes.rb b/config/routes.rb index a0aaa65cc..73c00b1ec 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -198,6 +198,7 @@ Rails.application.routes.draw do post :file_content post :update_file post :close + post :add_file get :fork_list post :update_propaedeutics get :add_collaborators From d7bfe2711915f921a10ebbc9172edfb42defe80a Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 30 Aug 2019 13:55:40 +0800 Subject: [PATCH 02/24] =?UTF-8?q?=E9=A2=98=E5=BA=93=E7=9A=84=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users/question_banks_controller.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/controllers/users/question_banks_controller.rb b/app/controllers/users/question_banks_controller.rb index 1f51b701c..d2f111973 100644 --- a/app/controllers/users/question_banks_controller.rb +++ b/app/controllers/users/question_banks_controller.rb @@ -1,4 +1,5 @@ class Users::QuestionBanksController < Users::BaseController + before_action :require_login before_action :check_query_params! before_action :check_user_permission! @@ -62,12 +63,10 @@ class Users::QuestionBanksController < Users::BaseController end def check_user_permission! - return if User.current.admin? || (observed_logged_user? && read_question_bank_permission?) - - render_forbidden - end - - def read_question_bank_permission? - params[:type] == 'personal' ? User.current.is_teacher? : User.current.certification_teacher? + if params[:type] == 'publicly' + render_error("未通过职业认证") unless User.current.admin? || User.current.certification_teacher? + else + render_forbidden unless User.current.admin? || User.current.is_teacher? + end end end \ No newline at end of file From 7e672cac8acd96a43d0bbe8cd9852cc8316e9697 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 30 Aug 2019 14:03:28 +0800 Subject: [PATCH 03/24] =?UTF-8?q?=E8=AF=BE=E5=A0=82=E5=AD=A6=E6=A0=A1?= =?UTF-8?q?=E7=9A=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/courses_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 50e349bab..1632813ea 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -1238,7 +1238,8 @@ class CoursesController < ApplicationController end tip_exception("课堂所属单位不能为空!") if params[:school].blank? tip_exception("请至少添加一个课堂模块") if params[:course_module_types].blank? - @school = School.find_by!(name: params[:school].strip) + @school = School.find_by(name: params[:school].strip) + tip_exception("所属单位不存在") unless @school.present? end def validate_start_end_date From 848ec0acd3713da6018c554bbb421f01d75b21d5 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 30 Aug 2019 14:21:19 +0800 Subject: [PATCH 04/24] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6403?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 23e64b740..e86c135e1 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -6,10 +6,13 @@ class ShixunsController < ApplicationController :discusses, :collaborators, :fork_list, :propaedeutics, :add_file] before_action :check_account, only: [:new, :create, :shixun_exec] + before_action :find_shixun, except: [:index, :new, :create, :menus, :get_recommend_shixuns, + :propaedeutics, :departments, :apply_shixun_mirror, + :get_mirror_script, :download_file] - before_action :find_shixun, :shixun_access_allowed, except: [:index, :new, :create, :menus, :get_recommend_shixuns, - :propaedeutics, :departments, :apply_shixun_mirror, - :get_mirror_script, :download_file] + before_action :shixun_access_allowed, except: [:index, :new, :create, :menus, :get_recommend_shixuns, :add_file, + :propaedeutics, :departments, :apply_shixun_mirror, + :get_mirror_script, :download_file] before_action :find_repo_name, only: [:repository, :commits, :file_content, :update_file, :shixun_exec, :copy] before_action :allowed, only: [:update, :close, :update_propaedeutics, :settings, :publish, From 9136c93051185210632ebef1c033efa99ea49612 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 30 Aug 2019 14:22:11 +0800 Subject: [PATCH 05/24] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/homeworks_service.rb | 4 ++-- .../_poll_questions.json.jbuilder | 18 ---------------- app/views/exercise_banks/show.json.jbuilder | 21 ++++++++++++++++--- .../users/question_banks/index.json.jbuilder | 15 ++++++++----- 4 files changed, 30 insertions(+), 28 deletions(-) delete mode 100644 app/views/exercise_banks/_poll_questions.json.jbuilder diff --git a/app/services/homeworks_service.rb b/app/services/homeworks_service.rb index 64aec92c6..6659ec760 100644 --- a/app/services/homeworks_service.rb +++ b/app/services/homeworks_service.rb @@ -314,8 +314,8 @@ class HomeworksService if work.work_status != 0 if myshixun_endtime.present? - work.cost_time = myshixun_endtime.to_i - setting_time.publish_time.to_i - + work_cost_time = myshixun_endtime.to_i - setting_time.publish_time.to_i + work.cost_time = work_cost_time > 0 ? work_cost_time : games.select{|game| game.status == 2}.pluck(:cost_time).sum efficiency = (pass_consume_time == 0 ? 0 : Math.log((user_total_score / pass_consume_time.to_f) + 1.0)) work.efficiency = format("%.2f", efficiency) diff --git a/app/views/exercise_banks/_poll_questions.json.jbuilder b/app/views/exercise_banks/_poll_questions.json.jbuilder deleted file mode 100644 index 524864e60..000000000 --- a/app/views/exercise_banks/_poll_questions.json.jbuilder +++ /dev/null @@ -1,18 +0,0 @@ -json.question do - json.id question.id - json.question_number question.question_number - json.question_title question.question_title - json.question_type question.question_type - json.is_necessary question.is_necessary - if question.question_type == 2 - json.max_choices question.max_choices - json.min_choices question.min_choices - end - json.answers do - json.array! answers do | a| - json.answer_id a.id - json.answer_position a.choice_position - json.answer_text a.choice_text.nil? ? "other_choices" : a.choice_text ## - end - end -end \ No newline at end of file diff --git a/app/views/exercise_banks/show.json.jbuilder b/app/views/exercise_banks/show.json.jbuilder index 049886b50..bc7a6419c 100644 --- a/app/views/exercise_banks/show.json.jbuilder +++ b/app/views/exercise_banks/show.json.jbuilder @@ -28,9 +28,24 @@ else json.q_mains @poll_question_mains end - json.questions do - json.array! @exercise_questions do | question| - json.partial! "exercise_banks/poll_questions", question: question, answers: question.exercise_bank_choices + json.questions @exercise_questions do | question| + json.question do + json.id question.id + json.question_number question.question_number + json.question_title question.question_title + json.question_type question.question_type + json.is_necessary question.is_necessary + if question.question_type == 2 + json.max_choices question.max_choices + json.min_choices question.min_choices + end + json.answers do + json.array! question.exercise_bank_choices do | a| + json.answer_id a.id + json.answer_position a.choice_position + json.answer_text a.choice_text.nil? ? "other_choices" : a.choice_text ## + end + end end end end \ No newline at end of file diff --git a/app/views/users/question_banks/index.json.jbuilder b/app/views/users/question_banks/index.json.jbuilder index bee5d1b5d..5d84ad388 100644 --- a/app/views/users/question_banks/index.json.jbuilder +++ b/app/views/users/question_banks/index.json.jbuilder @@ -1,9 +1,14 @@ json.count @count json.course_list @course_lists, partial: 'users/question_banks/shared/course_list', as: :course_list -json.question_banks do - json.array! @question_banks do |question_bank| - json.partial! 'users/question_banks/shared/question_bank', locals: { question_bank: question_bank } - json.solve_count @solve_count_map.fetch(question_bank.id, 0) - end + +json.question_banks @question_banks do |question_bank| + json.id question_bank.id + json.name question_bank.name + json.is_public question_bank.is_public + json.quotes_count question_bank.quotes + json.creator_name question_bank.user.name + json.course_list_name question_bank.course_list.name + json.updated_at question_bank.updated_at + json.solve_count @solve_count_map.fetch(question_bank.id, 0) end From 07de3cbd72b6f32ba6d259b8c37213d14e24011e Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 30 Aug 2019 14:23:51 +0800 Subject: [PATCH 06/24] .. --- app/controllers/concerns/git_common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/git_common.rb b/app/controllers/concerns/git_common.rb index 1752df7cb..6452f4d3e 100644 --- a/app/controllers/concerns/git_common.rb +++ b/app/controllers/concerns/git_common.rb @@ -46,7 +46,7 @@ module GitCommon # 为版本库添加文件 def add_file @path, message, content = params[:path].strip, params[:message], params[:content] - author_name, author_email = current_user.real_name, current_user.current_user.git_mail + author_name, author_email = current_user.real_name, current_user.git_mail @content = GitService.update_file(repo_path: @repo_path, file_path: path, message: message, From ca9e3b0c778b25d654af577cf833b0f7d9948bed Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 30 Aug 2019 14:26:29 +0800 Subject: [PATCH 07/24] .. --- app/controllers/concerns/git_common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/git_common.rb b/app/controllers/concerns/git_common.rb index 6452f4d3e..93f5fecd7 100644 --- a/app/controllers/concerns/git_common.rb +++ b/app/controllers/concerns/git_common.rb @@ -48,7 +48,7 @@ module GitCommon @path, message, content = params[:path].strip, params[:message], params[:content] author_name, author_email = current_user.real_name, current_user.git_mail @content = GitService.update_file(repo_path: @repo_path, - file_path: path, + file_path: @path, message: message, content: content, author_name: author_name, From 392f3f9e19083ce352cc53d5a772bc0e2e3b47b2 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Fri, 30 Aug 2019 14:32:54 +0800 Subject: [PATCH 08/24] admins: precompile --- .../admins/modals/admin-upload-file-modal.js | 62 ++++++++++ .../{shixun_settings.js => index.js} | 7 ++ app/assets/stylesheets/admin.scss | 1 + .../stylesheets/admins/shixun_settings.scss | 34 +++--- app/assets/stylesheets/common.scss | 5 + app/controllers/admins/files_controller.rb | 54 +++++++++ .../_admin_common_refuse_modal.html.erb | 2 +- .../shared/modal/_upload_file_modal.html.erb | 32 ++++++ .../admins/shixun_settings/index.html.erb | 1 + .../shixun_settings/shared/_td.html.erb | 18 +-- app/views/colleges/shared/_navbar.html.erb | 2 +- config/routes.rb | 1 + ...fest-1c370772f16743f825981ab0e5c94237.json | 2 +- ...a0b607cc91c77f662b59489cd02ba0930fa5ab.js} | 69 ++++++++++++ ...607cc91c77f662b59489cd02ba0930fa5ab.js.gz} | Bin 327184 -> 327554 bytes ...da100f69d987c29092d00934e9ac11648749d.css} | 53 ++++++--- ...00f69d987c29092d00934e9ac11648749d.css.gz} | Bin 52564 -> 52608 bytes ...2cb573c222af5435c1a7c3792e60ccf95ce.css.gz | Bin 132807 -> 0 bytes ...645e87b536664cea8c6f7c6031c5c32cd17a.js.gz | Bin 934246 -> 0 bytes ...9e3b9aeaa6db572dec8b9f399f6ecef463efd7.js} | 69 ++++++++++++ ...3b9aeaa6db572dec8b9f399f6ecef463efd7.js.gz | Bin 0 -> 934580 bytes ...4aba155e9ef61ad3e2731096ca98b559babca.css} | 106 ++++++++++++------ ...ba155e9ef61ad3e2731096ca98b559babca.css.gz | Bin 0 -> 132876 bytes ...bfed6093f1ad56a3cc3cef00be02faedb0176.css} | 13 ++- ...d6093f1ad56a3cc3cef00be02faedb0176.css.gz} | Bin 43212 -> 43235 bytes 25 files changed, 446 insertions(+), 85 deletions(-) create mode 100644 app/assets/javascripts/admins/modals/admin-upload-file-modal.js rename app/assets/javascripts/admins/shixun_settings/{shixun_settings.js => index.js} (78%) create mode 100644 app/controllers/admins/files_controller.rb create mode 100644 app/views/admins/shared/modal/_upload_file_modal.html.erb rename public/assets/{admin-8d82c014df138d1f5f4c8d9e1311d45ab7e1f057c1982604abb5c48529896f1c.js => admin-09270f9cd6af4e44c0e843f307a0b607cc91c77f662b59489cd02ba0930fa5ab.js} (99%) rename public/assets/{admin-8d82c014df138d1f5f4c8d9e1311d45ab7e1f057c1982604abb5c48529896f1c.js.gz => admin-09270f9cd6af4e44c0e843f307a0b607cc91c77f662b59489cd02ba0930fa5ab.js.gz} (90%) rename public/assets/{admin-536370ad413cc83f6cc8d12548cdb754dd74450a1469d5b0041bfc2407d5131a.css => admin-9d5c4a373c243715692f9847445da100f69d987c29092d00934e9ac11648749d.css} (99%) rename public/assets/{admin-536370ad413cc83f6cc8d12548cdb754dd74450a1469d5b0041bfc2407d5131a.css.gz => admin-9d5c4a373c243715692f9847445da100f69d987c29092d00934e9ac11648749d.css.gz} (57%) delete mode 100644 public/assets/application-472497f1d0379456a4d31b301162d2cb573c222af5435c1a7c3792e60ccf95ce.css.gz delete mode 100644 public/assets/application-555b621615e9dae684fceecd0966645e87b536664cea8c6f7c6031c5c32cd17a.js.gz rename public/assets/{application-555b621615e9dae684fceecd0966645e87b536664cea8c6f7c6031c5c32cd17a.js => application-de4390096dd5da70c80c36f7479e3b9aeaa6db572dec8b9f399f6ecef463efd7.js} (99%) create mode 100644 public/assets/application-de4390096dd5da70c80c36f7479e3b9aeaa6db572dec8b9f399f6ecef463efd7.js.gz rename public/assets/{application-472497f1d0379456a4d31b301162d2cb573c222af5435c1a7c3792e60ccf95ce.css => application-fe7a1764ac518e837dfe9820e5e4aba155e9ef61ad3e2731096ca98b559babca.css} (99%) create mode 100644 public/assets/application-fe7a1764ac518e837dfe9820e5e4aba155e9ef61ad3e2731096ca98b559babca.css.gz rename public/assets/{college-58adc636bb1f4e5c1f312c875bf34402f8e02dbed9c440e0532baeddbd3b4c27.css => college-315d626b40fca41ae2670fb1700bfed6093f1ad56a3cc3cef00be02faedb0176.css} (99%) rename public/assets/{college-58adc636bb1f4e5c1f312c875bf34402f8e02dbed9c440e0532baeddbd3b4c27.css.gz => college-315d626b40fca41ae2670fb1700bfed6093f1ad56a3cc3cef00be02faedb0176.css.gz} (97%) diff --git a/app/assets/javascripts/admins/modals/admin-upload-file-modal.js b/app/assets/javascripts/admins/modals/admin-upload-file-modal.js new file mode 100644 index 000000000..cf1333381 --- /dev/null +++ b/app/assets/javascripts/admins/modals/admin-upload-file-modal.js @@ -0,0 +1,62 @@ +$(document).on('turbolinks:load', function() { + var $modal = $('.modal.admin-upload-file-modal'); + if ($modal.length > 0) { + var $form = $modal.find('form.admin-upload-file-form') + var $sourceIdInput = $modal.find('input[name="source_id"]'); + var $sourceTypeInput = $modal.find('input[name="source_type"]'); + + $modal.on('show.bs.modal', function(event){ + var $link = $(event.relatedTarget); + var sourceId = $link.data('sourceId'); + var sourceType = $link.data('sourceType'); + + $sourceIdInput.val(sourceId); + $sourceTypeInput.val(sourceType); + + $modal.find('.upload-file-input').trigger('click'); + }); + + $modal.find('.upload-file-input').on('change', function(e){ + var file = $(this)[0].files[0]; + + if(file){ + $modal.find('.file-names').html(file.name); + $modal.find('.submit-btn').trigger('click'); + } + }) + + var formValid = function(){ + if($form.find('input[name="file"]').val() == undefined || $form.find('input[name="file"]').val().length == 0){ + $form.find('.error').html('请选择文件'); + return false; + } + + return true; + }; + + $modal.on('click', '.submit-btn', function(){ + $form.find('.error').html(''); + + if (formValid()) { + var formDataString = $form.serialize(); + $.ajax({ + method: 'POST', + dataType: 'json', + url: '/admins/files?' + formDataString, + data: new FormData($form[0]), + processData: false, + contentType: false, + success: function(data){ + $.notify({ message: '上传成功' }); + $modal.trigger('upload:success', data); + $modal.modal('hide'); + }, + error: function(res){ + var data = res.responseJSON; + $form.find('.error').html(data.message); + } + }); + } + }); + } +}); \ No newline at end of file diff --git a/app/assets/javascripts/admins/shixun_settings/shixun_settings.js b/app/assets/javascripts/admins/shixun_settings/index.js similarity index 78% rename from app/assets/javascripts/admins/shixun_settings/shixun_settings.js rename to app/assets/javascripts/admins/shixun_settings/index.js index 9034ebe39..cff00a7c4 100644 --- a/app/assets/javascripts/admins/shixun_settings/shixun_settings.js +++ b/app/assets/javascripts/admins/shixun_settings/index.js @@ -28,6 +28,13 @@ $(document).on('turbolinks:load', function() { data: json }) }) + + $('.modal.admin-upload-file-modal').on('upload:success', function(e, data){ + var $imageElement = $('.shixun-image-' + data.source_id); + $imageElement.attr('src', data.url); + $imageElement.show(); + $imageElement.next().html('重新上传'); + }) } }); diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index e4b9cdbf3..d3a298dcf 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -19,6 +19,7 @@ body { align-items: stretch; font-size: 14px; background: #efefef; + overflow: hidden; } .simple_form { diff --git a/app/assets/stylesheets/admins/shixun_settings.scss b/app/assets/stylesheets/admins/shixun_settings.scss index c38fc0c6d..dcfc35650 100644 --- a/app/assets/stylesheets/admins/shixun_settings.scss +++ b/app/assets/stylesheets/admins/shixun_settings.scss @@ -1,14 +1,22 @@ -input[type="checkbox"]{ - font-size:18px; -} -.select2 input::-webkit-input-placeholder{ - color:#ccc; -} -.select2 .select2-selection__choice{ - border: 1px solid #eee !important; -} -.setting-chosen{ - font-weight: 400; - font-size: 10px; - color:#333; +.admins-shixun-settings-index-page { + input[type="checkbox"]{ + font-size:18px; + } + .select2 input::-webkit-input-placeholder{ + color:#ccc; + } + .select2 .select2-selection__choice{ + border: 1px solid #eee !important; + } + .setting-chosen{ + font-weight: 400; + font-size: 10px; + color:#333; + } + + .shixun-setting-image { + display: flex; + flex-direction: column; + align-items: center; + } } \ No newline at end of file diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index e2deb745d..3310ec828 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -20,6 +20,11 @@ label.error { input.form-control { font-size: 14px; } +.input-group-prepend { + .input-group-text { + font-size: 14px; + } +} .flex-1 { flex: 1; diff --git a/app/controllers/admins/files_controller.rb b/app/controllers/admins/files_controller.rb new file mode 100644 index 000000000..3c799ceba --- /dev/null +++ b/app/controllers/admins/files_controller.rb @@ -0,0 +1,54 @@ +class Admins::FilesController < Admins::BaseController + before_action :convert_file!, only: [:create] + + def create + File.delete(file_path) if File.exist?(file_path) # 删除之前的文件 + + Util.write_file(@file, file_path) + + render_ok(source_id: params[:source_id], source_type: params[:source_type].to_s, url: file_url) + rescue StandardError => ex + logger_error(ex) + render_error('上传失败') + end + + private + + def convert_file! + max_size = 10 * 1024 * 1024 # 10M + if params[:file].class == ActionDispatch::Http::UploadedFile + @file = params[:file] + render_error('请上传文件') if @file.size.zero? + render_error('文件大小超过限制') if @file.size > max_size + else + file = params[:file].to_s.strip + return render_error('请上传正确的图片') if file.blank? + @file = Util.convert_base64_image(file, max_size: max_size) + end + rescue Base64ImageConverter::Error => ex + render_error(ex.message) + end + + def file_path + @_file_path ||= begin + case params[:source_type].to_s + when 'Shixun' then + disk_filename('Shixun', params[:source_id]) + else + disk_filename(params[:source_type].to_s, params[:source_id].to_s) + end + end + end + + def disk_filename(type, id) + File.join(storage_path, type.to_s, id.to_s) + end + + def storage_path + @_storage_path ||= File.join(Rails.root, 'public', 'images', 'avatars') + end + + def file_url + File.join('/images/avatars/', params[:source_type].to_s, params[:source_id].to_s) + end +end \ No newline at end of file diff --git a/app/views/admins/shared/_admin_common_refuse_modal.html.erb b/app/views/admins/shared/_admin_common_refuse_modal.html.erb index a2daf7f0c..ee1b3177e 100644 --- a/app/views/admins/shared/_admin_common_refuse_modal.html.erb +++ b/app/views/admins/shared/_admin_common_refuse_modal.html.erb @@ -2,7 +2,7 @@