修复Bug

This commit is contained in:
kaizheng 2013-08-12 22:26:18 +08:00
parent 5e4bd75335
commit 9abdd44b63
3 changed files with 5 additions and 3 deletions

View File

@ -198,7 +198,7 @@ software development and software crowdsourcing.</td></tr>
</tr>
<tr>
<td><% unless User.current.memberships.empty? %>
<%= l(:label_contribute_to, :project_count => "#{User.current.memberships.count}") %> <!-- <% for member in User.current.memberships %>
<%= l(:label_welcome_page_to, :project_count => "#{User.current.memberships.count}") %> <!-- <% for member in User.current.memberships %>
<%= link_to_project(member.project) %><%= (User.current.memberships.last == member) ? '' : '' %>
<% end %> --> <% end %></td>
</tr>

View File

@ -1228,3 +1228,4 @@ en:
label_repository_path: path of repository
label_repository_new_repos: create a new repository
label_repository_no: have no repository?
label_welcome_page_to: Participate %{project_count} projects

View File

@ -1243,3 +1243,4 @@ zh:
label_join: 加入Trustie
label_board_description: 七嘴八舌,汇聚众人智慧,为您排忧解难!
label_create_course_description: 课程小社区,创建新课程,让我们共同分享多到想不到的公共资源!
label_welcome_page_to: 参与了 %{project_count} 个项目!