|
|
|
@ -1282,7 +1282,7 @@ post "/prjsign/:id" do
|
|
|
|
|
print_error_page(503, "Путь к проектам не существует")
|
|
|
|
|
else
|
|
|
|
|
if params["cancel"].nil? && params["sign"] == "sign"
|
|
|
|
|
err = prj.sign_project(params["id"], cfg.get_keys_path, params["password"], "/prjsignview/#{prj_info["id"]}", cfg.get_repoview_path)
|
|
|
|
|
err = prj.sign_project(params["id"], cfg.get_keys_path, params["password"], "/prjsignview/#{prj_info[:id]}", cfg.get_repoview_path)
|
|
|
|
|
unless err.nil?
|
|
|
|
|
session[:prj_modal_info] = "Ошибка добавления подписи пакетов проекта"
|
|
|
|
|
session[:prj_modal_text] = err
|
|
|
|
|