关联项目的提交次数
This commit is contained in:
parent
bcee2924bb
commit
26631e2199
|
@ -173,7 +173,7 @@
|
||||||
<% time=project.updated_on %>
|
<% time=project.updated_on %>
|
||||||
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
||||||
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
||||||
<p><%=time_from_now time %> <%= project.commits_count %>提交</p>
|
<p><%=time_from_now time %> <%= project.project_score.changeset_num %>提交</p>
|
||||||
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=activity.id %>">
|
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=activity.id %>">
|
||||||
项目名称:<%=project.name %><br />
|
项目名称:<%=project.name %><br />
|
||||||
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
<% time=project.updated_on %>
|
<% time=project.updated_on %>
|
||||||
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
||||||
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
||||||
<p><%=time_from_now time %> <%= project.commits_count %>提交</p>
|
<p><%=time_from_now time %> <%= project.project_score.changeset_num %>提交</p>
|
||||||
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=activity.id %>">
|
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=activity.id %>">
|
||||||
项目名称:<%=project.name %><br />
|
项目名称:<%=project.name %><br />
|
||||||
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
||||||
|
|
|
@ -174,7 +174,7 @@
|
||||||
<% time=project.updated_on %>
|
<% time=project.updated_on %>
|
||||||
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
<% time=ForgeActivity.where("project_id=?",project.id).last.updated_at if ForgeActivity.where("project_id=?",project.id).last %>
|
||||||
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
<p><span class="captainName" title="<%=(User.find project.user_id).show_name %>"><%=(User.find project.user_id).show_name %></span><span style="vertical-align: top;">(组长)</span></p>
|
||||||
<p><%=time_from_now time %> <%= project.commits_count %>提交</p>
|
<p><%=time_from_now time %> <%= project.project_score.changeset_num %>提交</p>
|
||||||
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=homework_common.id %>">
|
<div class="relatePInfo" id="relatePInfo_<%=project.id %>_<%=homework_common.id %>">
|
||||||
项目名称:<%=project.name %><br />
|
项目名称:<%=project.name %><br />
|
||||||
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
创建者:<%=(User.find project.user_id).show_name %>(组长)<br />
|
||||||
|
|
Loading…
Reference in New Issue