dev_haigong
huang 6 years ago
parent 06f29e9109
commit e6b786edc0

@ -1,8 +1,6 @@
<div class="bor-bottom-greyE clearfix pl20 pr20 pt40 pb20 edu-back-white challengeNav">
<a href="<%= shixun_challenges_url(@shixun) %>" class="<%= params[:action] == "index" ? "active" : "" %> fl mr40">任务</a>
<% if @shixun.try(:propaedeutics).present? %>
<a href="<%= propaedeutics_shixun_path(@shixun) %>" class="<%= params[:action] == "propaedeutics" ? "active" : "" %> fl mr40">背景知识</a>
<% end %>
<% if User.current.manager_of_shixun?(@shixun) %>
<%= link_to l(:project_module_repository),
({:controller => 'repositories',

Loading…
Cancel
Save