|
|
|
@ -18,9 +18,7 @@ json.time tiding.how_long_time
|
|
|
|
|
json.new_tiding tiding.unread?(@onclick_time)
|
|
|
|
|
|
|
|
|
|
# 需要系统头像
|
|
|
|
|
show_system_user = tiding.trigger_user_id.zero? ||
|
|
|
|
|
(tiding.trigger_user_id == 1 && tiding.tiding_type == 'System') ||
|
|
|
|
|
tiding.anonymous?
|
|
|
|
|
show_system_user = tiding.trigger_user_id.zero? || tiding.tiding_type == 'System' || tiding.anonymous?
|
|
|
|
|
|
|
|
|
|
json.trigger_user do
|
|
|
|
|
if show_system_user
|
|
|
|
|