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: Addressed comments Created Oct. 10, 2017, 10:52 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),
29 ("test", "test"),
ire 2017/10/10 11:43:53 I think you forgot to delete this :)
juliandoucette 2017/10/10 11:59:20 Thank you! :D
25 ] %} 30 ] %}
26 31
27 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} 32 {% set opening = openings|find(page.split("/")[-1], attribute=1) %}
28 {% set title = (opening or [title])[0] %} 33 {% set title = (opening or [title])[0] %}
29 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %} 34 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %}
30 35
31 <header class="page-title"> 36 <header class="page-title">
32 <h1>Working at eyeo</h1> 37 <h1>Working at eyeo</h1>
33 </header> 38 </header>
34 39
35 <div id="jobs-info" class="content-block"> 40 <div id="jobs-info" class="content-block">
36 <div id="tabs-openings" class="columns-container one-sidebar"> 41 <div id="tabs-openings" class="columns-container one-sidebar">
37 <div class="column sidebar-left"> 42 <div class="column sidebar-left">
38 <h3 class="heading centered"><span>Current openings:</span></h3> 43 <h3 class="heading centered"><span>Current openings:</span></h3>
39 44
40 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> 45 <ul class="ui-tabs-nav ui-tabs-nav-vertical">
41 {% for title, file, _ in openings %} 46 {% for opening in openings %}
47 {% set title = opening[0] %}
48 {% set file = opening[1] %}
42 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}> 49 <li {% if file == page.split("/")[-1] %} class="ui-tabs-active" {% end if %}>
43 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}} 50 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}}
44 {{ title }} 51 {{ title }}
45 {% if file in german_openings %} 52 {% if file in german_openings %}
46 <img src="/images/flags/germany.png" alt="German" width="15" hei ght="10"> 53 <img src="/images/flags/germany.png" alt="German" width="15" hei ght="10">
47 {% endif %} 54 {% endif %}
48 </a> 55 </a>
49 </li> 56 </li>
50 {% endfor %} 57 {% endfor %}
51 </ul> 58 </ul>
52 59
53 60
54 <div class="contact-person no-mobile"> 61 <div class="contact-person no-mobile">
55 <? include jobs/contact ?> 62 <? include jobs/contact ?>
56 </div> 63 </div>
57 64
58 <p id="hiring-badges" class="no-mobile"> 65 <p id="hiring-badges" class="no-mobile">
59 <img id="ihk-logo" src="/images/ihk.png" alt="IHK Ausbildungsbetrieb" wi dth="120" height="80"> 66 <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"> 67 <img id="fair-company-logo" src="/images/fair-company.png" alt="Fair Com pany" height="80">
61 </p> 68 </p>
62 </div> 69 </div>
63 70
64 <div class="column"> 71 <div class="column">
65 <div id="panels-openings" class="ui-tabs-panel"> 72 <div id="panels-openings" class="ui-tabs-panel">
66 {% if opening %} 73 {% if opening %}
67 <h2>{{ title }}</h2> 74 <h2>{{ title }}</h2>
68 {% endif %} 75 {% 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