任务列表显示

This commit is contained in:
huang 2017-03-31 15:59:13 +08:00
parent 7174c865e0
commit bb54b20e6d
2 changed files with 6 additions and 6 deletions

View File

@ -27,9 +27,9 @@
<% end %>
<div class="cl"></div>
<p class="ml15 mt15 color-grey">
<span class=" mr10">正在挑战:<%= shixun_running(@shixun, challenge.position) %></span>
<span class=" mr10">完成挑战:<%= shixun_done(@shixun, challenge.position) %></span>
<span class=" mr10">最佳表现:<%= top_score(@shixun, challenge.position) %>分</span>
<span class=" mr10">正在挑战:<%= shixun_running(@shixun, challenge.position).to_i %></span>
<span class=" mr10">完成挑战:<%= shixun_done(@shixun, challenge.position).to_i %></span>
<span class=" mr10">最佳表现:<%= top_score(@shixun, challenge.position).to_i %>分</span>
<span class=" mr10">平均表现:<%= shixun_avg_score(@shixun, challenge.position).to_i %>分 </span>
</p>
</div>

View File

@ -55,9 +55,9 @@
<li>
<%= link_to "竞赛", user_contest_community_path(User.current), :class => "new-nav-a", :target => "_blank" %>
</li>
<li>
<%= link_to "智能实训", user_shixuns_user_path(User.current), :class => "new-nav-a", :target => "_blank" %>
</li>
<!--<li>-->
<!--<%#= link_to "智能实训", user_shixuns_user_path(User.current), :class => "new-nav-a", :target => "_blank" %>-->
<!--</li>-->
<li>
<%= link_to "问吧", forums_path, :class =>"new-nav-a", :target => "_blank" %>
</li>