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" %> <%= check_box_tag 'to_delete[]', ask_question.id, false, :class => "checkbox_in_list" %>
</td> </td>
<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>
<td> <td>
<%= ask_question.ask_category.name %> <%= ask_question.ask_category.name %>

View File

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

View File

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