diff --git a/app/views/users/_project_list.html.erb b/app/views/users/_project_list.html.erb index 828f4f7ac..b13f37874 100644 --- a/app/views/users/_project_list.html.erb +++ b/app/views/users/_project_list.html.erb @@ -44,9 +44,10 @@

<%= link_to project.name, allow_visit ? project_path(project.id,:host=>Setting.host_name) : 'javascript:void(0)', :target => '_blank', :class => "new_project_title fl",:id => "show_project_#{project.id}", :title => (allow_visit ? "#{project.name}" : "私有项目不可访问") %>

- <% unless project.is_public? %> - 私有 - <% end %> + <%# unless project.is_public? %> + + <%# end %> + <%= project.is_public? ? '公开' : '私有' %> <% projectUser = User.where("id=?",project.user_id).first %> <%= link_to "创建者:#{projectUser.try(:realname) != " " ? projectUser.lastname + projectUser.firstname : projectUser.try(:login)}".html_safe, user_path(projectUser) %>