url链接

This commit is contained in:
huang 2017-03-07 09:36:56 +08:00
parent dd31a55bdd
commit 7faee25b3f
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
</li>
<!--实训任务-->
<li id="project_menu_011">
<%= link_to 1 > 0 ? "#{l(:project_module_training_tasks)}<span class='issues_nav_tag ml5'>#{switch_integer_into_k 99999}</span>".html_safe : "#{l(:project_module_training_tasks)}", project_training_tasks_url(@shixun), :class => "pro_new_proname", :title => "#{99999}" %>
<%= link_to 1 > 0 ? "#{l(:project_module_training_tasks)}<span class='issues_nav_tag ml5'>#{switch_integer_into_k 99999}</span>".html_safe : "#{l(:project_module_training_tasks)}", shixun_challenges_url(@shixun), :class => "pro_new_proname", :title => "#{99999}" %>
</li>
<!--讨论区-->
<li id="project_menu_03">
@ -38,7 +38,7 @@
<% unless @shixun.repository.nil? %>
<li id="project_menu_05">
<%= link_to (1 > 0 ? "#{l(:project_module_repository)}<span class='issues_nav_tag ml5'>#{switch_integer_into_k 99999}</span>".html_safe : "#{l(:project_module_repository)}"),
({:controller => 'repositories', :action => 'show', :repository_id => shixun_repository(@shixun).try(:identifier)}),
({:controller => 'repositories', :action => 'shixun_show', :repository_id => shixun_repository(@shixun).try(:identifier)}),
:class => "pro_new_proname", :title => "#{99999}" %></li>
<% end %>
<li id="project_menu_010">