AdBanner reopen new banner and delete. Rename title with content editable tag.

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-05-17 06:44:14 +08:00
1 parent 7f2564a81e
commit a3acd865d7
9 files changed
+70 -7

No files matched your search

+5 -1
View File
@@ -84,8 +84,9 @@ zh_tw:
sec_place_holder: 3秒請輸入3
ab_fx: 轉場特效
all_banners: 輪播清單
cate_auth: 分類授權
banner_best_size: Banner 尺寸
cate_auth: 分類授權
delete_banner: 刪除整組輪播
new_banner: 新增輪播
new_image: 新增橫幅
showing: 顯示中
@@ -118,6 +119,9 @@ zh_tw:
choose_file: 請選擇一個文件...
class: 階級
content: 內容
contenteditable:
update_done: 更新完成
update_failed: 更新失敗
create_error_link: 新增連接時出錯。
create_error_page: 新增頁面時出錯。
create_success_home: 首頁已成功新增。
+2
View File
@@ -39,6 +39,8 @@ Orbit::Application.routes.draw do
match 'ad_banners/:id/preview' => 'ad_banners#realtime_preview',:as => :realtime_preview_ad_banner,:via => :put
match 'ad_banners/:id/rename' => 'ad_banners#rename',:as => :rename_ad_banner,:via => :post
resources :ad_banners do
collection do
match 'new_ad_image' => 'ad_images#new',:as => :new_ad_image,:via => :get