39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
<div class="mh550">
|
|
<% if @user_experiences.blank? %>
|
|
<div class="edu-tab-con-box" style="text-align: center">
|
|
<img class="edu-nodata-img" src="/images/edu_user/edu-nodata.png"/>
|
|
<p class="edu-nodata-p mb30">您还没有获得过经验值哦~</p>
|
|
</div>
|
|
<% else %>
|
|
<table class="edu-pop-table-all" cellpadding="0" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th width="15%">操作</th>
|
|
<th width="15%">变更</th>
|
|
<th width="55%">详情</th>
|
|
<th width="15%">操作时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @user_experiences.each do |exp| %>
|
|
<tr>
|
|
<td class="pl10">闯关</td>
|
|
<td>+ <%= exp.score %></td>
|
|
<% game = Game.where(:id => exp.container_id).first %>
|
|
<td><%= game ? "通过实训“#{game.challenge.shixun.name}”的第#{game.challenge.position}关获得的奖励" : "--" %></td>
|
|
<td><%= format_time exp.created_at %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="cl"></div>
|
|
<div style="text-align:center;" class="new_expand">
|
|
<div class="pages_user_show" style="width:auto; display:inline-block;margin: 18px 0;">
|
|
<ul>
|
|
<%= pagination_links_full @experiences_pages, @experiences_count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true %>
|
|
</ul>
|
|
<div class="cl"></div>
|
|
</div>
|
|
</div>
|
|
<% end %> |