飞成员不显示上线移动
This commit is contained in:
parent
db536ece50
commit
c02aa7a0e3
|
@ -12,6 +12,7 @@
|
||||||
<h4 class="fl panel-inner-title "><i class="fa fa-dot-circle-o font-18 color-green mr5"></i><span class="color-red mr10">第<%= challenge.position %>关</span>
|
<h4 class="fl panel-inner-title "><i class="fa fa-dot-circle-o font-18 color-green mr5"></i><span class="color-red mr10">第<%= challenge.position %>关</span>
|
||||||
<%= link_to challenge.subject, shixun_challenge_path(@shixun.id, challenge), :target => "_blank" %>
|
<%= link_to challenge.subject, shixun_challenge_path(@shixun.id, challenge), :target => "_blank" %>
|
||||||
</h4>
|
</h4>
|
||||||
|
<% if User.current.manager_of_shixun?(@shixun) %>
|
||||||
<p class="fr" style="display: none" id="shixun_icon_<%= index %>">
|
<p class="fr" style="display: none" id="shixun_icon_<%= index %>">
|
||||||
<% unless challenge.position < 2 %>
|
<% unless challenge.position < 2 %>
|
||||||
<a href="<%= index_up_shixun_challenge_path(challenge, :shixun_id => @shixun) %>" title="上移" data-remote="true"><i class="fa fa-long-arrow-up color-grey font-16 mr5" ></i></a>
|
<a href="<%= index_up_shixun_challenge_path(challenge, :shixun_id => @shixun) %>" title="上移" data-remote="true"><i class="fa fa-long-arrow-up color-grey font-16 mr5" ></i></a>
|
||||||
|
@ -23,6 +24,7 @@
|
||||||
<!-- <a href="#" title="删除" ><i class="fa fa-trash-o color-grey font-16 mr5" ></i></a>-->
|
<!-- <a href="#" title="删除" ><i class="fa fa-trash-o color-grey font-16 mr5" ></i></a>-->
|
||||||
<!--<a href="#" title="排名" ><i class="fa fa-signal color-grey font-16 mr5 " ></i></a>-->
|
<!--<a href="#" title="排名" ><i class="fa fa-signal color-grey font-16 mr5 " ></i></a>-->
|
||||||
</p>
|
</p>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<p class="ml15 mt15 color-grey">
|
<p class="ml15 mt15 color-grey">
|
||||||
<% if shixun_running(@shixun) != 0 %>
|
<% if shixun_running(@shixun) != 0 %>
|
||||||
|
|
Loading…
Reference in New Issue