ask module: default status

This commit is contained in:
iCross 2013-05-29 22:26:44 +08:00 committed by chris
parent 8541033ba9
commit 75e27ed849
3 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<%= check_box_tag 'to_delete[]', ask_question.id, false, :class => "checkbox_in_list" %>
</td>
<td>
<%= ask_question.ask_reply ? ask_question.ask_reply.status : '' %>
<%= ask_question.ask_reply ? ask_question.ask_reply.status : t('ask.pending') %>
</td>
<td>
<%= ask_question.ask_category.name %>

View File

@ -16,6 +16,7 @@ en:
acknowledgement: Acknowledgement
admin: Administrator
new_question: New question
pending: Pending
mongoid:
attributes:
ask_question:

View File

@ -21,6 +21,7 @@ zh_tw:
acknowledgement: 感謝詞
admin: 管理者
new_question: 新的發問
pending: 待處理
mongoid:
attributes:
ask_question: