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

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

Issue 29570571: Issue 5846 - Add support for greenhouse for jobs on eyeo.com (Closed) Base URL: https://hg.adblockplus.org/web.eyeo.com
Patch Set: Removed test Created Oct. 10, 2017, 11:59 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 | « includes/jobs/footer.tmpl ('k') | 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 {# 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 5
6 {% block head %} 6 {% block head %}
7 <style> 7 <style>
8 #tabs-openings .ui-tabs-nav-vertical 8 #tabs-openings .ui-tabs-nav-vertical
9 { 9 {
10 font-size: 16px; 10 font-size: 16px;
11 } 11 }
12 </style> 12 </style>
13 {% endblock %} 13 {% endblock %}
14 14
15 {% set GREENHOUSE = 1 %}
16 {% set TALENTTRACKER = 2 %}
17 {% set EMAIL = 3 %}
18
15 {% set openings = [ 19 {% set openings = [
16 ("IT System Administrator", "it-system-administrator", 189), 20 ("IT System Administrator", "it-system-administrator", TALENTTRACKER, 189),
17 ("Data Engineer", "data-engineer", 194), 21 ("Data Engineer", "data-engineer", TALENTTRACKER, 194),
18 ("Technical Support Analyst", "technical-support-analyst", 191), 22 ("Technical Support Analyst", "technical-support-analyst", TALENTTRACKER, 191) ,
19 ("Filter List Supporter", "filter-list-supporter", 127), 23 ("Filter List Supporter", "filter-list-supporter", TALENTTRACKER, 127),
20 ("Whitelist Maintainer", "whitelist-maintainer", 108), 24 ("Whitelist Maintainer", "whitelist-maintainer", TALENTTRACKER, 108),
21 ("Flattr Campaign Coordinator (Student Help)", "flattr-campaign-coordinator-st udent-help", 195), 25 ("Flattr Campaign Coordinator (Student Help)", "flattr-campaign-coordinator-st udent-help", TALENTTRACKER, 195),
22 ("Student Help Acceptable Ads Monitoring", "student-help-acceptable-ads-monito ring", 193), 26 ("Student Help Acceptable Ads Monitoring", "student-help-acceptable-ads-monito ring", TALENTTRACKER, 193),
23 ("Student Help Data Protection (m/w)", "student-help-data-protection", 178), 27 ("Student Help Data Protection (m/w)", "student-help-data-protection", TALENTT RACKER, 178),
24 ("Speculative Application", "speculative-application", 51), 28 ("Speculative Application", "speculative-application", TALENTTRACKER, 51),
25 ] %} 29 ] %}
26 30
27 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} 31 {% set opening = openings|find(page.split("/")[-1], attribute=1) %}
28 {% set title = (opening or [title])[0] %} 32 {% set title = (opening or [title])[0] %}
29 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %} 33 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %}
30 34
31 <header class="page-title"> 35 <header class="page-title">
32 <h1>Working at eyeo</h1> 36 <h1>Working at eyeo</h1>
33 </header> 37 </header>
34 38
35 <div id="jobs-info" class="content-block"> 39 <div id="jobs-info" class="content-block">
36 <div id="tabs-openings" class="columns-container one-sidebar"> 40 <div id="tabs-openings" class="columns-container one-sidebar">
37 <div class="column sidebar-left"> 41 <div class="column sidebar-left">
38 <h3 class="heading centered"><span>Current openings:</span></h3> 42 <h3 class="heading centered"><span>Current openings:</span></h3>
39 43
40 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> 44 <ul class="ui-tabs-nav ui-tabs-nav-vertical">
41 {% for title, file, _ in openings %} 45 {% for opening in openings %}
46 {% set title = opening[0] %}
47 {% set file = opening[1] %}
42 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}> 48 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}>
43 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}} 49 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}}
44 {{ title }} 50 {{ title }}
45 {% if file in german_openings %} 51 {% if file in german_openings %}
46 <img src="/images/flags/germany.png" alt="German" width="15" hei ght="10"> 52 <img src="/images/flags/germany.png" alt="German" width="15" hei ght="10">
47 {% endif %} 53 {% endif %}
48 </a> 54 </a>
49 </li> 55 </li>
50 {% endfor %} 56 {% endfor %}
51 </ul> 57 </ul>
52 58
53 59
54 <div class="contact-person no-mobile"> 60 <div class="contact-person no-mobile">
55 <? include jobs/contact ?> 61 <? include jobs/contact ?>
56 </div> 62 </div>
57 63
58 <p id="hiring-badges" class="no-mobile"> 64 <p id="hiring-badges" class="no-mobile">
59 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi dth="120" height="80"> 65 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi dth="120" height="80">
60 <img id="fair-company-logo" src="/images/fair-company.png" alt="Fair Com pany" height="80"> 66 <img id="fair-company-logo" src="/images/fair-company.png" alt="Fair Com pany" height="80">
61 </p> 67 </p>
62 </div> 68 </div>
63 69
64 <div class="column"> 70 <div class="column">
65 <div id="panels-openings" class="ui-tabs-panel"> 71 <div id="panels-openings" class="ui-tabs-panel">
66 {% if opening %} 72 {% if opening %}
67 <h2>{{ title }}</h2> 73 <h2>{{ title }}</h2>
68 {% endif %} 74 {% endif %}
OLDNEW
« no previous file with comments | « includes/jobs/footer.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld