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

Side by Side Diff: includes/jobs/header.tmpl

Issue 4656385128136704: Issue 2056 - HR block fix (Closed)
Patch Set: Created March 24, 2015, 2:06 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 | pages/press.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# 1 {#
2 For each job opening you have to list the title and the name of the file under 2 For each job opening you have to list the title and the name of the file under
3 pages/jobs that contains the job description. 3 pages/jobs that contains the job description.
4 #} 4 #}
5 {% set openings = [ 5 {% set openings = [
6 ("Account Manager USA/GB", "account-manager-usa-gb"), 6 ("Account Manager USA/GB", "account-manager-usa-gb"),
7 ("Senior JavaScript Developer", "senior-javascript-developer"), 7 ("Senior JavaScript Developer", "senior-javascript-developer"),
8 ("Senior Web Developer", "senior-web-developer"), 8 ("Senior Web Developer", "senior-web-developer"),
9 ("Android Developer", "android-developer"), 9 ("Android Developer", "android-developer"),
10 ("PR Intern", "pr-intern"), 10 ("PR Intern", "pr-intern"),
11 ("Business Development Manager", "business-development-manager"), 11 ("Business Development Manager", "business-development-manager"),
12 ("Student Help Communications", "student-help-communications"), 12 ("Student Help Communications", "student-help-communications"),
13 ("Data Scientist", "data-scientist"), 13 ("Data Scientist", "data-scientist"),
14 ("Software Tester", "software-tester"), 14 ("Software Tester", "software-tester"),
15 ] %} 15 ] %}
16 {% set german_openings = [] %} 16 {% set german_openings = [] %}
17 17
18 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} 18 {% set opening = openings|find(page.split("/")[-1], attribute=1) %}
19 {% set title, _ = opening or (title, "") %} 19 {% set title, _ = opening or (title, "") %}
20 20
21 <header class="page-title"> 21 <header class="page-title">
22 <h1>Working at Eyeo</h1> 22 <h1>Working at Eyeo</h1>
23 </header> 23 </header>
24 24
25 <div id="jobs-info" class="content-block"> 25 <div id="jobs-info" class="content-block">
26 <div id="tabs-openings" class="columns-container one-sidebar"> 26 <div id="tabs-openings" class="columns-container one-sidebar">
27 <div class="column sidebar-left"> 27 <div class="column sidebar-left">
28 <div class="contact-person">
29 <? include jobs/contact ?>
30 </div>
31
28 <h3 class="heading centered"><span>Current openings:</span></h3> 32 <h3 class="heading centered"><span>Current openings:</span></h3>
29 33
30 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> 34 <ul class="ui-tabs-nav ui-tabs-nav-vertical">
31 {% for title, file in openings %} 35 {% for title, file in openings %}
32 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}> 36 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}>
33 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}} 37 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}}
34 {{ title }} 38 {{ title }}
35 {% if file in german_openings %} 39 {% if file in german_openings %}
36 <img src="/images/flags/de.png" alt="German" width="15" height=" 10"> 40 <img src="/images/flags/de.png" alt="German" width="15" height=" 10">
37 {% endif %} 41 {% endif %}
38 </a> 42 </a>
39 </li> 43 </li>
40 {% endfor %} 44 {% endfor %}
41 </ul> 45 </ul>
42 46
43 <p id="hiring-badges"> 47 <p id="hiring-badges">
44 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi dth="120" height="80"> 48 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi dth="120" height="80">
45 <img id="fair-company-logo" src="/images/fair-company.jpg" alt="Fair Com pany" height="80"> 49 <img id="fair-company-logo" src="/images/fair-company.jpg" alt="Fair Com pany" height="80">
46 </p> 50 </p>
47
48 <p>
49 <? include jobs/contact ?>
50 </p>
51 </div> 51 </div>
52 52
53 <div class="column"> 53 <div class="column">
54 <div id="panels-openings" class="ui-tabs-panel"> 54 <div id="panels-openings" class="ui-tabs-panel">
55 {% if opening %} 55 {% if opening %}
56 <h2>{{ title }}</h2> 56 <h2>{{ title }}</h2>
57 {% endif %} 57 {% endif %}
OLDNEW
« no previous file with comments | « no previous file | pages/press.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld