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

View File

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

View File

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