From be07c2c961d6f40fb3b88e7ced567b6ea7815358 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 8 Apr 2015 11:48:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/watcherlist.html.erb | 53 ++++++++++--------------- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git a/app/views/projects/watcherlist.html.erb b/app/views/projects/watcherlist.html.erb index 0a7a222d4..4eacf836f 100644 --- a/app/views/projects/watcherlist.html.erb +++ b/app/views/projects/watcherlist.html.erb @@ -1,36 +1,27 @@ -

<%= l(:label_user_watcher)%>

-
- <% for user in @project.watcher_users %> - -<% end %> +
+
+ 加入时间 +
+ + <% for user in @project.watcher_users %> +
+ + <%= user.nil? ? '' : (image_tag(url_to_avatar(user), :width => 32, :height => 32)) %> + + <%= l(:label_username)%> + <%= link_to_user(user) %> + + <%= format_date(user.created_on) %> +
+
+ <% end%> + + +
+
+ <% html_title(l(:label_followers)) -%> \ No newline at end of file