diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index c6d1f5036..063a7ca20 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -189,12 +189,12 @@ software development and software crowdsourcing. - + - - + +
<%= l(:label_welcome) %> <%= User.current.name%> <%= l(:label_join) %><%= l(:label_welcome) %> <%=link_to User.current.name, user_path(User.current) %> <%= l(:label_join) %>
<%= image_tag(url_to_avatar(User.current), :class => 'avatar') %><%= l(:label_user_watcher) %> (<%= link_to User.watched_by(User.current).count %>)  - <%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(User.current) }%><%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %><%= l(:label_user_watcher) %> (<%= link_to User.watched_by(User.current).count, user_path(User.current) %>)  + <%= l(:label_user_fans) %>(<%=link_to @user.watcher_users(@user.id).count,user_path(User.current) %>)
<% unless User.current.memberships.empty? %>