项目列表问题
This commit is contained in:
parent
1da8288fe7
commit
196501bc39
|
@ -18,7 +18,7 @@
|
||||||
<ul class="list-file">
|
<ul class="list-file">
|
||||||
<li>
|
<li>
|
||||||
<span class="item_list fl"></span>
|
<span class="item_list fl"></span>
|
||||||
<%= link_to project.name, project_path(project.id,:host=>Setting.host_name), :target => '_blank', :class => "course-title fl",:id => "show_project_#{project.id}", :title => (project.is_public? ? "公开项目:":"私有项目:") + project.name%>
|
<%= link_to project.name, project_path(project.id,:host=>Setting.host_name), :target => '_blank', :class => "list-title fl",:id => "show_project_#{project.id}", :title => (project.is_public? ? "公开项目:":"私有项目:") + project.name%>
|
||||||
<% projectUser = User.where("id=?",project.user_id).first%>
|
<% projectUser = User.where("id=?",project.user_id).first%>
|
||||||
<span class="fr grayTxt">
|
<span class="fr grayTxt">
|
||||||
<%='创建者:'+(projectUser.try(:realname) != " " ? projectUser.lastname + projectUser.firstname : projectUser.try(:login)) %>
|
<%='创建者:'+(projectUser.try(:realname) != " " ? projectUser.lastname + projectUser.firstname : projectUser.try(:login)) %>
|
||||||
|
|
Loading…
Reference in New Issue