This commit is contained in:
caishi 2019-10-29 11:24:11 +08:00
commit ee5778746d
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@
<% if ma.forge_message_type == "PullRequest" && PullRequest.exists?(:pull_request_id => ma.forge_message_id) %> <% if ma.forge_message_type == "PullRequest" && PullRequest.exists?(:pull_request_id => ma.forge_message_id) %>
<% send_message_user = PullRequest.where(:pull_request_id => ma.forge_message_id) %> <% send_message_user = PullRequest.where(:pull_request_id => ma.forge_message_id) %>
<% ma_author = User.find(ma.operate_user_id.nil? ? 2 : ma.operate_user_id) %> <% ma_author = User.find(ma.operate_user_id.nil? ? 2 : ma.operate_user_id) %>
<% user_can_click = User.current.user_can_see_project(ma.forge_message&.project) %> <% user_can_click = User.current.user_can_see_project(ma&.project) %>
<%= link_to image_tag(url_to_avatar(ma_author), class:"r_list_img"), user_path(ma_author), :target => '_blank' %> <%= link_to image_tag(url_to_avatar(ma_author), class:"r_list_img"), user_path(ma_author), :target => '_blank' %>
<div> <div>