主页链接

This commit is contained in:
huangjingquan 2013-08-12 23:57:00 +08:00
parent 75aca1bad4
commit 54fa3e5325
1 changed files with 4 additions and 4 deletions

View File

@ -189,12 +189,12 @@ software development and software crowdsourcing.</td></tr>
<!--info--> <!--info-->
<table width="200" border="0"> <table width="200" border="0">
<tr> <tr>
<td colspan="2" class="font_welcome_Cdescription"><%= l(:label_welcome) %> <strong class="font_small_watch"><%= User.current.name%></strong> <%= l(:label_join) %></td> <td colspan="2" class="font_welcome_Cdescription"><%= l(:label_welcome) %> <strong class="font_small_watch"><%=link_to User.current.name, user_path(User.current) %></strong> <%= l(:label_join) %></td>
</tr> </tr>
<tr> <tr>
<td rowspan="2" align="left"><%= image_tag(url_to_avatar(User.current), :class => 'avatar') %></td> <td rowspan="2" align="left"><%=link_to image_tag(url_to_avatar(User.current), :class => 'avatar'), user_path(User.current) %></td>
<td><%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= link_to User.watched_by(User.current).count %></strong>)&nbsp <td><%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= link_to User.watched_by(User.current).count, user_path(User.current) %></strong>)&nbsp
<%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(User.current) }%></td> <%= l(:label_user_fans) %>(<strong class="font_small_watch"><%=link_to @user.watcher_users(@user.id).count,user_path(User.current) %></strong>)</td>
</tr> </tr>
<tr> <tr>
<td><% unless User.current.memberships.empty? %> <td><% unless User.current.memberships.empty? %>