<%= link_to(l(:button_edit), edit_user_path(@user), :class => 'icon icon-edit') if User.current.admin? %>
关注 <%= link_to User.watched_by(@user.id).count, home_path %> 粉丝 <%= link_to @user.watcher_users.count, home_path %> |
<%= link_to image_tag(avatar_image(@user), :class => 'avatar'), :class => "avatar" %> | |
<% unless User.current == @user %>
<%= watcher_link(@user, User.current) %><% end %> |
<%= link_to l(:label_user_watcher), home_path %>
<% unless User.current == @user %>
<%= render :partial => 'words/new', :locals => {:user => @user, :sta => @state}%>
<% end %>
<%= render :partial => 'tags/tag', :locals => {:obj => @user,:object_flag => "1"}%>
<%= render :partial => 'words/message', :locals => {:message => @message, :state => @state} %>
  |
<%= link_to l(:label_project_plural),home_path %>
<% unless @memberships.empty? %>
<% for membership in @memberships %>
-
|
<%= link_to_project(membership.project) %>
|
<%= membership.project.description%>
|
<%= l(:label_user_watcher)%><%= link_to"999",home_path%> <%= l(:label_user_commits)%><%= link_to"12",home_path%>
(
<%= format_date(membership.created_on) %>)
|
<% end %>
<%= link_to"更多",:controller=>'projects',:action=>'index'%>
<% else %>
暂无项目,赶快去<%= link_to"新建",:controller=>'projects',:action=>'new'%>吧
<% end %>
<%= call_hook :view_account_left_bottom, :user => @user %>
  |
**************************
<% unless @memberships.empty? %>
<% for membership in @memberships %>
-
<% end %>
<%= link_to"更多",:controller=>'projects',:action=>'index'%>
<% else %>
暂无项目,赶快去<%= link_to"新建",:controller=>'projects',:action=>'new'%>吧
<% end %>
<%= call_hook :view_account_left_bottom, :user => @user %>
***************************
<%= link_to l(:label_user_newfeedback), home_path %>start a... |
-
|
<%= link_to "huang",home_path%>对我评价了:
|
新建问题的时候存在一个bug,需要解决卡涵盖的垃圾卡拉格德国的萨嘎...
| |
<%= link_to"更多",:contoller=>'project',:action=>'index'%>
<%= link_to l(:label_activity), :controller => 'activities',
:action => 'index', :id => nil, :user_id => @user,
:from => @events_by_day.keys.first %>
<% @events_by_day.keys.sort.reverse.each do |day| %>
<% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
-
|
<%= content_tag('span', h(e.project), :class => 'project') %>
|
<%= link_to format_activity_title(e.event_title), e.event_url %>
<%= format_activity_description(e.event_description) %>
|
|
<% end -%>
<% end -%>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => nil, :user_id => @user, :key => User.current.rss_key} %>
<% end %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, :controller => 'activities', :action => 'index', :user_id => @user, :format => :atom, :key => User.current.rss_key) %>
<% end %>
<% end %>
<%= call_hook :view_account_right_bottom, :user => @user %>
<% html_title @user.name %>