add not found for no result
This commit is contained in:
parent
98fd9223a8
commit
25f4e292e6
|
@ -293,3 +293,5 @@ en:
|
|||
not_previewable: "Preview not support"
|
||||
limit_of_upload_file_size: "Upload file must be less than: %{best_size}"
|
||||
|
||||
search:
|
||||
not_found: "NOT FOUND"
|
|
@ -430,6 +430,9 @@ zh_tw:
|
|||
select:
|
||||
prompt: "請選擇"
|
||||
|
||||
search:
|
||||
not_found: "沒有搜尋結果"
|
||||
|
||||
activerecord:
|
||||
errors:
|
||||
template: # ~ 2.3.5 backward compatible
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
<td><%= display_date(post.postdate) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% if @news_bulletins.blank? %>
|
||||
<%=render :partial => 'shared/search_not_found' %>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Reference in New Issue