Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/jobs/index.tmpl

Issue 29332920: Noissue - Removed compatibility for legacy job URLs (Closed)
Patch Set: Created Dec. 21, 2015, 1:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=Working at Eyeo 1 title=Working at Eyeo
2 2
3 <head> 3 <head>
4 <script src="/js/jquery.ui.core.min.js"></script> 4 <script src="/js/jquery.ui.core.min.js"></script>
5 <script src="/js/jquery.ui.widget.min.js"></script> 5 <script src="/js/jquery.ui.widget.min.js"></script>
6 <script src="/js/jquery.ui.tabs.min.js"></script> 6 <script src="/js/jquery.ui.tabs.min.js"></script>
7 <script> 7 <script>
8 jQuery(function() 8 jQuery(function()
9 { 9 {
10 jQuery("#tabs-details").tabs(); 10 jQuery("#tabs-details").tabs();
11 }); 11 });
12
13 // Compatibility with legacy job URLs
14 if (window.location.hash)
15 window.location.replace(window.location.href.replace(/\/*#/, "/"));
16 </script> 12 </script>
17 </head> 13 </head>
18 14
19 <? include jobs/header ?> 15 <? include jobs/header ?>
20 16
21 <div id="jobs-overview"> 17 <div id="jobs-overview">
22 <? include jobs/overview ?> 18 <? include jobs/overview ?>
23 19
24 <div id="tabs-details"> 20 <div id="tabs-details">
25 <ul> 21 <ul>
(...skipping 10 matching lines...) Expand all
36 <? include jobs/benefits ?> 32 <? include jobs/benefits ?>
37 </div> 33 </div>
38 34
39 <div id="office"> 35 <div id="office">
40 <? include jobs/office ?> 36 <? include jobs/office ?>
41 </div> 37 </div>
42 </div> 38 </div>
43 </div> 39 </div>
44 40
45 <? include jobs/footer ?> 41 <? include jobs/footer ?>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld