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

Side by Side Diff: pages/jobs.tmpl

Issue 4570169137430528: Update the URL when a job description is clicked (Closed)
Patch Set: Created Jan. 9, 2014, 2:26 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 {% set openings = ("HR Manager", "C++ Developer", "Browser Extension Developer", "PR Intern") %} 3 {% set openings = ("HR Manager", "C++ Developer", "Browser Extension Developer", "PR Intern") %}
4 {% macro slugify(title) %}{{ title|lower|replace(" ", "-") }}{% endmacro %} 4 {% macro slugify(title) %}{{ title|lower|replace(" ", "-") }}{% endmacro %}
5 5
6 <script src="/js/jquery.ui.core.min.js"></script> 6 <script src="/js/jquery.ui.core.min.js"></script>
7 <script src="/js/jquery.ui.widget.min.js"></script> 7 <script src="/js/jquery.ui.widget.min.js"></script>
8 <script src="/js/jquery.ui.tabs.min.js"></script> 8 <script src="/js/jquery.ui.tabs.min.js"></script>
9 <script> 9 <script>
10 jQuery(function() 10 jQuery(function()
11 { 11 {
12 jQuery( 12 jQuery(
13 "ul:first", jQuery("#tabs-openings").tabs() 13 "ul:first", jQuery("#tabs-openings").tabs(
14 {
15 activate: function(event, ui)
16 {
17 location.hash = ui.newTab.find("a")[0].hash;
18 }
19 })
14 ).addClass("ui-tabs-nav-vertical"); 20 ).addClass("ui-tabs-nav-vertical");
15 21
16 jQuery("#tabs-details").tabs(); 22 jQuery("#tabs-details").tabs();
17 }); 23 });
18 </script> 24 </script>
19 25
20 26
21 <header class="page-title"> 27 <header class="page-title">
22 <h1>Working at Eyeo</h1> 28 <h1>Working at Eyeo</h1>
23 </header> 29 </header>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 <div id="{{ slugify(title) }}"> 75 <div id="{{ slugify(title) }}">
70 <h2>{{ title }}</h2> 76 <h2>{{ title }}</h2>
71 <? include jobs/openings/{{ slugify(title) }} ?> 77 <? include jobs/openings/{{ slugify(title) }} ?>
72 <a href="mailto:jobs@eyeo.com"><button>apply now</button></a> 78 <a href="mailto:jobs@eyeo.com"><button>apply now</button></a>
73 </div> 79 </div>
74 {% endfor %} 80 {% endfor %}
75 </div> 81 </div>
76 </div> 82 </div>
77 </div> 83 </div>
78 </div> 84 </div>
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