From 5844af922ea24b5dcc06f5449db05dcad643978c Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 18 Oct 2016 13:34:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=8A=A8=E6=80=81=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E6=89=A9=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/_act_issues.html.erb | 2 +- app/views/projects/_act_messages.html.erb | 8 +-- .../projects/_project_activities.html.erb | 2 +- app/views/projects/_project_commit.html.erb | 56 +++++++++---------- app/views/users/_project_attachment.html.erb | 8 +-- app/views/users/_project_create.html.erb | 8 +-- 6 files changed, 42 insertions(+), 42 deletions(-) diff --git a/app/views/projects/_act_issues.html.erb b/app/views/projects/_act_issues.html.erb index 551a07df2..8e448ffb2 100644 --- a/app/views/projects/_act_issues.html.erb +++ b/app/views/projects/_act_issues.html.erb @@ -6,7 +6,7 @@ <%= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
-
+
<% if activity.try(:author).try(:realname) == ' ' %> <%= link_to activity.try(:author), user_path(activity.author_id), :class => "newsBlue mr15" %> <% else %> diff --git a/app/views/projects/_act_messages.html.erb b/app/views/projects/_act_messages.html.erb index 783e740f1..786b56087 100644 --- a/app/views/projects/_act_messages.html.erb +++ b/app/views/projects/_act_messages.html.erb @@ -1,11 +1,11 @@ -
-
+
+
<%= link_to image_tag(url_to_avatar(activity.author), :width => "50", :height => "50"), user_path(activity.author_id), :alt => "用户头像" %> <%= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
-
-
+
+
<%= link_to activity.author.show_name, user_path(activity.author_id), :class => "newsBlue mr15" %> TO <%= link_to activity.project.name.to_s+" | 项目讨论区",project_boards_path(activity.project), :class => "newsBlue ml15 mr5"%> diff --git a/app/views/projects/_project_activities.html.erb b/app/views/projects/_project_activities.html.erb index c555758a3..7ba1d7acc 100644 --- a/app/views/projects/_project_activities.html.erb +++ b/app/views/projects/_project_activities.html.erb @@ -54,7 +54,7 @@ <% if forge_acts.count == 10 %> - <%= link_to "点击展开更多",project_path(@project.id, :type => type, :page => page),:id => "show_more_forge_activities",:remote => "true",:class => "loadMore mt10 f_grey"%> + <%= link_to "点击展开更多",project_path(@project.id, :type => type, :page => page),:id => "show_more_forge_activities",:remote => "true",:class => "banner-big dis tac mt10 f_grey"%> <% end %>