clean up useless flash msgs. add i18n vars for app auth and object auth
This commit is contained in:
1 parent
05ded8de03
commit
f427c3803f
9 files changed
+43
-27
No files matched your search
+1
-1
@@ -86,7 +86,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
||||
# @bulletin.bulletin_files.new
|
||||
|
||||
if get_categorys.empty?
|
||||
flash[:notice] = "You dont have any permission for post on cate"
|
||||
flash[:alert] = t("announcement.error.no_avilb_cate_for_posting")
|
||||
redirect_to :action => :index
|
||||
else
|
||||
get_tags
|
||||
|
||||
@@ -59,6 +59,8 @@ en:
|
||||
all_articles: List
|
||||
add_new: Add
|
||||
categories: Categories
|
||||
error:
|
||||
no_avilb_cate_for_posting: You need a category to submit your post,please contact admin
|
||||
sure?: Sure?
|
||||
campus_news: Campus News
|
||||
more: more+
|
||||
|
||||
@@ -37,6 +37,8 @@ zh_tw:
|
||||
announcement:
|
||||
add_new: 新增
|
||||
all_articles: 列表
|
||||
error:
|
||||
no_avilb_cate_for_posting: 您目前沒有分類可以刊登公告,請聯絡系統管理員為您開通分類
|
||||
tags: 標籤
|
||||
categories: 分類
|
||||
status: 狀態
|
||||
|
||||
Reference in new issue
Block a user