fix for 標題後台為「校園新聞」,前台顯示為「新聞」 該頁面為列表,最上方卻出現「搜尋結果」? from Mr.張
This commit is contained in:
1 parent
eed7b78357
commit
d589a1b522
2 files changed
+4
-4
No files matched your search
vendor/built_in_modules/announcement/app/views/panel/announcement/front_end/bulletins/index.html.erb
Vendored
+2
-2
@@ -15,9 +15,9 @@
|
||||
<th><%= t('announcement.bulletin.title') %></th>
|
||||
<th><%= t('announcement.bulletin.postdate') %></th>
|
||||
</tr>
|
||||
<% if @bulletins.blank? %>
|
||||
<% if @bulletins.blank? and !params[:search_query].blank? %>
|
||||
<%=render :partial => 'shared/search_not_found' %>
|
||||
<% else %>
|
||||
<% elsif !params[:search_query].blank? %>
|
||||
<%= t("search.result_get",:item_num=>@bulletins.count) %>
|
||||
<% end %>
|
||||
<% @bulletins.each do |post| %>
|
||||
|
||||
+2
-2
@@ -7,9 +7,9 @@
|
||||
<% else %>
|
||||
<h1 class="h1"><%= t('news.news') %></h1>
|
||||
<% end %>
|
||||
<% if @news_bulletins.blank? %>
|
||||
<% if @news_bulletins.blank? and !params[:search_query].blank? %>
|
||||
<%=render :partial => 'shared/search_not_found' %>
|
||||
<% else %>
|
||||
<% elsif !params[:search_query].blank? %>
|
||||
<%= t("search.result_get",:item_num=>@news_bulletins.count) %>
|
||||
<% end %>
|
||||
<table class="table table-bordered">
|
||||
|
||||
Reference in new issue
Block a user