Show More
@@ -144,9 +144,6 b'' | |||
|
144 | 144 | if selected == current: |
|
145 | 145 | return h.literal('class="current"') |
|
146 | 146 | %> |
|
147 | ## we render this menu only not for those pages | |
|
148 | %if current not in ['home','admin', 'search', 'journal']: | |
|
149 | ##REGULAR MENU | |
|
150 | 147 |
|
|
151 | 148 |
|
|
152 | 149 |
|
@@ -162,7 +159,9 b'' | |||
|
162 | 159 |
|
|
163 | 160 |
|
|
164 | 161 |
|
|
165 | ||
|
162 | ## we render this menu only not for those pages | |
|
163 | %if current not in ['home','admin', 'search', 'journal']: | |
|
164 | ##REGULAR MENU | |
|
166 | 165 |
|
|
167 | 166 |
|
|
168 | 167 |
|
@@ -179,7 +178,6 b'' | |||
|
179 | 178 |
|
|
180 | 179 |
|
|
181 | 180 |
|
|
182 | ||
|
183 | 181 |
|
|
184 | 182 |
|
|
185 | 183 |
|
@@ -199,7 +197,6 b'' | |||
|
199 | 197 |
|
|
200 | 198 |
|
|
201 | 199 |
|
|
202 | ||
|
203 | 200 |
|
|
204 | 201 |
|
|
205 | 202 |
|
@@ -255,7 +252,6 b'' | |||
|
255 | 252 |
|
|
256 | 253 |
|
|
257 | 254 |
|
|
258 | ||
|
259 | 255 |
|
|
260 | 256 |
|
|
261 | 257 |
|
@@ -281,28 +277,7 b'' | |||
|
281 | 277 |
|
|
282 | 278 |
|
|
283 | 279 |
|
|
284 | </ul> | |
|
285 | 280 | <script type="text/javascript"> |
|
286 | YUE.on('repo_switcher','mouseover',function(){ | |
|
287 | function qfilter(){ | |
|
288 | var nodes = YUQ('ul#repo_switcher_list li a.repo_name'); | |
|
289 | var target = 'q_filter_rs'; | |
|
290 | var func = function(node){ | |
|
291 | return node.parentNode; | |
|
292 | } | |
|
293 | q_filter(target,nodes,func); | |
|
294 | } | |
|
295 | var loaded = YUD.hasClass('repo_switcher','loaded'); | |
|
296 | if(!loaded){ | |
|
297 | YUD.addClass('repo_switcher','loaded'); | |
|
298 | ypjax("${h.url('repo_switcher')}",'repo_switcher_list', | |
|
299 | function(o){qfilter();}, | |
|
300 | function(o){YUD.removeClass('repo_switcher','loaded');} | |
|
301 | ,null); | |
|
302 | } | |
|
303 | return false; | |
|
304 | }); | |
|
305 | ||
|
306 | 281 | YUE.on('branch_tag_switcher','mouseover',function(){ |
|
307 | 282 | var loaded = YUD.hasClass('branch_tag_switcher','loaded'); |
|
308 | 283 | if(!loaded){ |
@@ -317,7 +292,6 b'' | |||
|
317 | 292 | </script> |
|
318 | 293 | %else: |
|
319 | 294 | ##ROOT MENU |
|
320 | <ul id="quick"> | |
|
321 | 295 |
|
|
322 | 296 |
|
|
323 | 297 |
|
@@ -353,7 +327,6 b'' | |||
|
353 | 327 |
|
|
354 | 328 |
|
|
355 | 329 |
|
|
356 | ||
|
357 | 330 |
|
|
358 | 331 |
|
|
359 | 332 |
|
@@ -366,6 +339,26 b'' | |||
|
366 | 339 |
|
|
367 | 340 |
|
|
368 | 341 |
|
|
369 | </ul> | |
|
370 | 342 | %endif |
|
343 | <script type="text/javascript"> | |
|
344 | YUE.on('repo_switcher','mouseover',function(){ | |
|
345 | function qfilter(){ | |
|
346 | var nodes = YUQ('ul#repo_switcher_list li a.repo_name'); | |
|
347 | var target = 'q_filter_rs'; | |
|
348 | var func = function(node){ | |
|
349 | return node.parentNode; | |
|
350 | } | |
|
351 | q_filter(target,nodes,func); | |
|
352 | } | |
|
353 | var loaded = YUD.hasClass('repo_switcher','loaded'); | |
|
354 | if(!loaded){ | |
|
355 | YUD.addClass('repo_switcher','loaded'); | |
|
356 | ypjax("${h.url('repo_switcher')}",'repo_switcher_list', | |
|
357 | function(o){qfilter();}, | |
|
358 | function(o){YUD.removeClass('repo_switcher','loaded');} | |
|
359 | ,null); | |
|
360 | } | |
|
361 | return false; | |
|
362 | }); | |
|
363 | </script> | |
|
371 | 364 | </%def> |
General Comments 0
You need to be logged in to leave comments.
Login now