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

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

Issue 4943676832743424: Issue 2204 - Restore compatibility with legacy job URLs (Closed)
Patch Set: Created March 24, 2015, 9:18 a.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(/\/*#/, "/"));
12 </script> 16 </script>
13 </head> 17 </head>
14 18
15 <? include jobs/header ?> 19 <? include jobs/header ?>
16 20
17 <div id="jobs-overview"> 21 <div id="jobs-overview">
18 <? include jobs/overview ?> 22 <? include jobs/overview ?>
19 23
20 <div id="tabs-details"> 24 <div id="tabs-details">
21 <ul> 25 <ul>
(...skipping 10 matching lines...) Expand all
32 <? include jobs/benefits ?> 36 <? include jobs/benefits ?>
33 </div> 37 </div>
34 38
35 <div id="office"> 39 <div id="office">
36 <? include jobs/office ?> 40 <? include jobs/office ?>
37 </div> 41 </div>
38 </div> 42 </div>
39 </div> 43 </div>
40 44
41 <? include jobs/footer ?> 45 <? 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