fix for 新聞與公告QA

1.8.新聞或公告的「檔案室」上傳圖片後再行編輯時,圖片無法正常顯示(但是可以正常被編輯調整並於前台顯示)
	2.add  上傳檔案大小限制: 3MB
	3.公告的發佈單位為何是顯示單位代碼:M00?應顯示發布單位
This commit is contained in:
Matthew K. Fu JuYuan committed 2012-06-26 17:46:02 +08:00
1 parent df722ba90f
commit 818c58c1ee
9 files changed
+48 -20

No files matched your search

+4 -1
View File
@@ -289,4 +289,7 @@ en:
modal:
close: Close
preview: Preview
sys:
not_previewable: "Preview not support"
limit_of_upload_file_size: "Upload file must be less than: %{best_size}"
+3
View File
@@ -508,3 +508,6 @@ zh_tw:
modal:
close: "關閉"
preview: "預覽"
sys:
not_previewable: "不支援預覽"
limit_of_upload_file_size: "上傳檔案大小限制: %{best_size}"
+2 -1
View File
@@ -140,7 +140,8 @@ Orbit::Application.routes.draw do
}
# routes for gridfs files
match "/gridfs/*path" => "gridfs#serve"
match "/gridfs/*path" => "gridfs#serve"
# match "/images/*path" => "gridfs#serve_images"
# match "/admin/pages/images/*path" => "gridfs#serve_images"