Add display last modified user in admin index page.

This commit is contained in:
BOHUNG 2020-03-20 16:48:31 +08:00
parent c24045e420
commit 7b2c1d70d0
3 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<% @table_fields.each do |f| %>
<%= thead(f) %>
<% end %>
<th><%=t('faq.update_user')%></th>
</tr>
</thead>
<tbody>
@ -36,6 +37,7 @@
<span class="label label-warning"><%= tag.name %></span>
<% end %>
</td>
<td><%=User.find(qa.update_user_id).user_name rescue ''%></td>
</tr>
<% end %>
</tbody>

View File

@ -18,6 +18,7 @@ en:
read_more: Read More
question: Question
answer: Answer
update_user: Last modified
qa:
create_qa_category_success: FAQ category was successfully created
editing_web_resource: Editing FAQ

View File

@ -16,7 +16,7 @@ zh_tw:
read_more: 閱讀更多
question: 問題
answer: 回答
update_user: 最後修改者
qa:
create_qa_category_success: 問與答類別已成功建立
editing_web_resource: 編輯問與答