first commit for seminar

This commit is contained in:
service committed 2016-06-29 14:57:45 +08:00
commit 52d3581130
121 files changed
+6015

No files matched your search

+86
View File
@@ -0,0 +1,86 @@
en:
simple_captcha:
placeholder: ""
label: ""
restful_actions:
act_signup: 報名資料
module_name:
seminar: 研討會
recaptcha:
errors:
verification_failed: 驗證碼錯誤
seminar:
export_csv: 匯出CSV
recaptcha: 驗證碼
yes_: 是
no_: 否
seminar: 研討會
title: 研討會名稱
speaker: 主講者
content: 內容說明
act_place: 活動地點
registration_status: 報名身分
registration_status_C: 投稿者
registration_status_G: 一般報名
seminar_start_date: 活動開始時間
seminar_end_date: 活動結束時間
signup_start_date: 報名開始時間
signup_end_date: 報名結束時間
contribute_start_date: 投稿開始時間
contribute_end_date: 投稿結束時間
event_during: 活動期間
contribute_during: 投稿期間
signup_during: 報名期間
signup_count: 報名人數
signup: 報名
export: 匯出
set_seminar_items: 項目
set_seminar_signup_field: 圈選設定
set_seminar_item_content: 項目設定
set_seminar_agreements: 個資宣告設定
seminar_agreements_content: 個資宣告內容
to_require: 是否必填
sign_up_not_yet: 報名時間未開始
sign_up_not_open: 未開放報名
sign_up_overdue: 報名時間已過
contribute_file_count: 投稿檔案數
frontend:
seminar: 研討會前台
seminar_item:
new_item: 新增項目
edit_item: 編輯項目
set_item: 設定項目
del_item: 刪除項目
seminar_item_content:
content: 內容
seminar_signup:
signup_time: 報名時間
name: Name
unit: 單位
tel: TEL
phone: Mobile telephone
fax: Fax
address: 地址
email: e-mail信箱
password: 密碼
note: 註解
time: (開始/結束)時間
place: 地點
agree: "Accept Privacy and Personal Information Protection Policy of the Site"
signup_field: 圈選項目
uploads: 上傳檔案
con_login: 投稿者登入
file_name: 稿件名稱
file_note: 摘要
files: 檔案
logout: 登出
logouting: 登出中
+87
View File
@@ -0,0 +1,87 @@
zh_tw:
simple_captcha:
placeholder: ""
label: ""
restful_actions:
act_signup: 報名資料
module_name:
seminar: 研討會
recaptcha:
errors:
verification_failed: 驗證碼錯誤
seminar:
export_csv: 匯出CSV
recaptcha: 驗證碼
yes_: 是
no_: 否
seminar: 研討會
title: 研討會名稱
speaker: 主講者
content: 內容說明
act_place: 活動地點
registration_status: 報名身分
registration_status_C: 投稿者
registration_status_G: 一般報名
seminar_start_date: 活動開始時間
seminar_end_date: 活動結束時間
signup_start_date: 報名開始時間
signup_end_date: 報名結束時間
contribute_start_date: 投稿開始時間
contribute_end_date: 投稿結束時間
event_during: 活動期間
contribute_during: 投稿期間
signup_during: 報名期間
signup_count: 報名人數
signup: 報名
export: 匯出
set_seminar_items: 項目
set_seminar_signup_field: 圈選設定
set_seminar_item_content: 項目設定
set_seminar_agreements: 個資宣告設定
seminar_agreements_content: 個資宣告內容
to_require: 是否必填
sign_up_not_yet: 報名時間未開始
sign_up_not_open: 未開放報名
sign_up_overdue: 報名時間已過
contribute_file_count: 投稿檔案數
frontend:
seminar: 研討會前台
seminar_item:
new_item: 新增項目
edit_item: 編輯項目
set_item: 設定項目
del_item: 刪除項目
seminar_item_content:
content: 內容
seminar_signup:
signup_time: 報名時間
name: 姓名
unit: 單位
tel: 聯絡電話
phone: 行動電話
fax: 傳真
address: 地址
email: e-mail信箱
password: 密碼
note: 註解
time: (開始/結束)時間
place: 地點
agree: 同意接受本站個資及隱私權保護宣告
recaptcha: 驗證碼
signup_field: 圈選項目
uploads: 上傳檔案
con_login: 投稿者登入
file_name: 稿件名稱
file_note: 摘要
files: 檔案
logout: 登出
logouting: 登出中
+39
View File
@@ -0,0 +1,39 @@
Rails.application.routes.draw do
locales = Site.first.in_use_locales rescue I18n.available_locales
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
namespace :admin do
resources :seminars do
member do
get 'export'
get 'set_write_off'
get 'seminar_signup'
get 'seminar_item_content'
get 'seminar_signup_field'
end
end
resources :seminar_items do
collection do
post 'delete_items'
end
end
resources :seminar_agreements
resources :seminar_signups
resources :seminar_item_contents
end
resources :seminars do
collection do
get ':slug_title-:uid', to: 'seminars#show'
post 'con_login_proc', to: 'seminars#con_login_proc'
post 'con_logout_proc', to: 'seminars#con_logout_proc'
post 'add_file_proc', to: 'seminars#add_file_proc'
post 'edit_file_proc', to: 'seminars#edit_file_proc'
post 'del_file', to: 'seminars#del_file'
end
end
end
end