Change 熱門 to 頭版 for news
This commit is contained in:
parent
3db2664c14
commit
4dfe3e7b3b
|
@ -1,6 +1,6 @@
|
||||||
<div class="accordion-inner" data-toggle="buttons-checkbox">
|
<div class="accordion-inner" data-toggle="buttons-checkbox">
|
||||||
<%= link_to t(:top), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_top'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_top')}" %>
|
<%= link_to t(:top), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_top'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_top')}" %>
|
||||||
<%= link_to t(:hot), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hot'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hot')}" %>
|
<%= link_to t('news.hot'), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hot'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hot')}" %>
|
||||||
<%= link_to t(:hidden), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hidden'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hidden')}" %>
|
<%= link_to t(:hidden), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_hidden'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_hidden')}" %>
|
||||||
<%= link_to t(:pending), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_pending'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_pending')}" %>
|
<%= link_to t(:pending), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_pending'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_pending')}" %>
|
||||||
<%= link_to t(:passed), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_checked'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_checked')}" %>
|
<%= link_to t(:passed), panel_news_back_end_news_bulletins_path(:filter => @filter, :new_filter => {:type => 'status', :id => 'is_checked'}, :sort => params[:sort], :direction => params[:direction], :sort_options => params[:sort_options]), :class => "btn js_history#{is_filter_active?('status', 'is_checked')}" %>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<span class="label label-success"><%= t(:top) %></span>
|
<span class="label label-success"><%= t(:top) %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if news_bulletin.is_hot? %>
|
<% if news_bulletin.is_hot? %>
|
||||||
<span class="label label-important"><%= t(:hot) %></span>
|
<span class="label label-important"><%= t('news.hot') %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if news_bulletin.is_hidden? %>
|
<% if news_bulletin.is_hidden? %>
|
||||||
<span class="label"><%= t(:hidden) %></span>
|
<span class="label"><%= t(:hidden) %></span>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label"><%= t(:status) %></label>
|
<label class="control-label"><%= t(:status) %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<label class="checkbox inline"><%= f.check_box :is_hot %><%= t(:hot) %></label>
|
<label class="checkbox inline"><%= f.check_box :is_hot %><%= t('news.hot') %></label>
|
||||||
<label class="checkbox inline"><%= f.check_box :is_top %><%= t(:top) %></label>
|
<label class="checkbox inline"><%= f.check_box :is_top %><%= t(:top) %></label>
|
||||||
<label class="checkbox inline"><%= f.check_box :is_hidden %><%= t(:hidden) %></label>
|
<label class="checkbox inline"><%= f.check_box :is_hidden %><%= t(:hidden) %></label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,7 +24,6 @@ zh_tw:
|
||||||
update: 更新
|
update: 更新
|
||||||
yes_: "Yes"
|
yes_: "Yes"
|
||||||
|
|
||||||
hot: 熱門
|
|
||||||
top: 置頂
|
top: 置頂
|
||||||
hidden: 隱藏
|
hidden: 隱藏
|
||||||
passed: 審核通過
|
passed: 審核通過
|
||||||
|
@ -37,6 +36,7 @@ zh_tw:
|
||||||
quick_edit: 快速編輯
|
quick_edit: 快速編輯
|
||||||
|
|
||||||
news:
|
news:
|
||||||
|
hot: 頭版
|
||||||
add_new: 新增
|
add_new: 新增
|
||||||
all_articles: 列表
|
all_articles: 列表
|
||||||
tags: 標籤
|
tags: 標籤
|
||||||
|
|
Reference in New Issue