From be4592ee99eef507ea411f6cedabc8e971a36dfb Mon Sep 17 00:00:00 2001 From: nccu Date: Thu, 13 Nov 2014 14:00:53 +0800 Subject: [PATCH] update announcement list last modify --- app/views/admin/announcements/_index.html.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_index.html.erb b/app/views/admin/announcements/_index.html.erb index 6b29b6f..a066593 100644 --- a/app/views/admin/announcements/_index.html.erb +++ b/app/views/admin/announcements/_index.html.erb @@ -40,7 +40,10 @@ <%= format_value b.postdate %> "><%= format_value b.deadline %> - <%= b.update_user.user_name rescue " " %> + + <%= MemberProfile.find(b.update_user.member_profile_id).last_name_translations[I18n.locale.to_s] rescue " " %> + <%= MemberProfile.find(b.update_user.member_profile_id).first_name_translations[I18n.locale.to_s] rescue " " %> + <%= b.view_count %>