fix
This commit is contained in:
parent
5ed40da76f
commit
02925fbb99
|
@ -5,13 +5,20 @@
|
|||
@nav_dispaly_home_path_label = 1
|
||||
@nav_dispaly_main_course_label = 1
|
||||
@nav_dispaly_main_project_label = 1
|
||||
elsif (realUrl.match(/project\/course/))
|
||||
@nav_dispaly_course_label = 1
|
||||
elsif (realUrl.match(/projects/))
|
||||
@nav_dispaly_project_label = 1
|
||||
elsif (realUrl.match(/contest/))
|
||||
@nav_dispaly_contest_label = 1
|
||||
elsif (realUrl.match(/calls/))
|
||||
@nav_dispaly_home_path_label = 1
|
||||
@nav_dispaly_bid_label = 1
|
||||
elsif (realUrl.match(/forums/))
|
||||
@nav_dispaly_forum_label = 1
|
||||
elsif (realUrl.match(/[^forge]\/course[^\.]/))
|
||||
@nav_dispaly_course_label = 1
|
||||
@nav_dispaly_project_label = 1
|
||||
@nav_dispaly_contest_label = 1
|
||||
elsif (realUrl.match(/forge\.trustie\.net\/*/))
|
||||
@nav_dispaly_project_label = 1
|
||||
@nav_dispaly_forum_label = 1
|
||||
|
|
Loading…
Reference in New Issue