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

Delta Between Two Patch Sets: 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
Left Patch Set: Created Oct. 9, 2017, 11:49 a.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « includes/jobs/footer.tmpl ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 %} 15 {% set GREENHOUSE = 1 %}
16 {% set TALENTTRACKER = 2 %} 16 {% set TALENTTRACKER = 2 %}
17 {% set EMAIL = 3 %} 17 {% set EMAIL = 3 %}
ire 2017/10/10 08:18:33 NIT: I found this a bit confusing to understand at
juliandoucette 2017/10/10 10:46:22 - variable / constant names are more commonly auto
juliandoucette 2017/10/10 10:57:12 @wspee Do you think that this makes a difference t
ire 2017/10/10 11:43:52 We probably don't need the EMAIL constant anymore
ire 2017/10/10 11:43:52 Okay, I agree with your decision
18 18
19 {% set openings = [ 19 {% set openings = [
20 ("IT System Administrator", "it-system-administrator", TALENTTRACKER, 189), 20 ("IT System Administrator", "it-system-administrator", TALENTTRACKER, 189),
21 ("Data Engineer", "data-engineer", TALENTTRACKER, 194), 21 ("Data Engineer", "data-engineer", TALENTTRACKER, 194),
22 ("Technical Support Analyst", "technical-support-analyst", TALENTTRACKER, 191) , 22 ("Technical Support Analyst", "technical-support-analyst", TALENTTRACKER, 191) ,
23 ("Filter List Supporter", "filter-list-supporter", TALENTTRACKER, 127), 23 ("Filter List Supporter", "filter-list-supporter", TALENTTRACKER, 127),
24 ("Whitelist Maintainer", "whitelist-maintainer", TALENTTRACKER, 108), 24 ("Whitelist Maintainer", "whitelist-maintainer", TALENTTRACKER, 108),
25 ("Flattr Campaign Coordinator (Student Help)", "flattr-campaign-coordinator-st udent-help", TALENTTRACKER, 195), 25 ("Flattr Campaign Coordinator (Student Help)", "flattr-campaign-coordinator-st udent-help", TALENTTRACKER, 195),
26 ("Student Help Acceptable Ads Monitoring", "student-help-acceptable-ads-monito ring", TALENTTRACKER, 193), 26 ("Student Help Acceptable Ads Monitoring", "student-help-acceptable-ads-monito ring", TALENTTRACKER, 193),
27 ("Student Help Data Protection (m/w)", "student-help-data-protection", TALENTT RACKER, 178), 27 ("Student Help Data Protection (m/w)", "student-help-data-protection", TALENTT RACKER, 178),
28 ("Speculative Application", "speculative-application", TALENTTRACKER, 51), 28 ("Speculative Application", "speculative-application", TALENTTRACKER, 51),
29 ] %} 29 ] %}
30 30
31 {% set opening = openings|find(page.split("/")[-1], attribute=1) %} 31 {% set opening = openings|find(page.split("/")[-1], attribute=1) %}
32 {% set title = (opening or [title])[0] %} 32 {% set title = (opening or [title])[0] %}
33 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %} 33 {% set og_image = "https://eyeo.com/images/eyeo-meta-jobs.png" %}
34 34
35 <header class="page-title"> 35 <header class="page-title">
36 <h1>Working at eyeo</h1> 36 <h1>Working at eyeo</h1>
37 </header> 37 </header>
38 38
39 <div id="jobs-info" class="content-block"> 39 <div id="jobs-info" class="content-block">
40 <div id="tabs-openings" class="columns-container one-sidebar"> 40 <div id="tabs-openings" class="columns-container one-sidebar">
41 <div class="column sidebar-left"> 41 <div class="column sidebar-left">
42 <h3 class="heading centered"><span>Current openings:</span></h3> 42 <h3 class="heading centered"><span>Current openings:</span></h3>
43 43
44 <ul class="ui-tabs-nav ui-tabs-nav-vertical"> 44 <ul class="ui-tabs-nav ui-tabs-nav-vertical">
45 {% for title, file, type, id in openings %} 45 {% for opening in openings %}
46 {% set title = opening[0] %}
47 {% set file = opening[1] %}
46 <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 %}>
47 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}} 49 {{("jobs/" + file)|linkify(class="ui-tabs-anchor")}}
48 {{ title }} 50 {{ title }}
49 {% if file in german_openings %} 51 {% if file in german_openings %}
50 <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">
51 {% endif %} 53 {% endif %}
52 </a> 54 </a>
53 </li> 55 </li>
54 {% endfor %} 56 {% endfor %}
55 </ul> 57 </ul>
56 58
57 59
58 <div class="contact-person no-mobile"> 60 <div class="contact-person no-mobile">
59 <? include jobs/contact ?> 61 <? include jobs/contact ?>
60 </div> 62 </div>
61 63
62 <p id="hiring-badges" class="no-mobile"> 64 <p id="hiring-badges" class="no-mobile">
63 <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">
64 <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">
65 </p> 67 </p>
66 </div> 68 </div>
67 69
68 <div class="column"> 70 <div class="column">
69 <div id="panels-openings" class="ui-tabs-panel"> 71 <div id="panels-openings" class="ui-tabs-panel">
70 {% if opening %} 72 {% if opening %}
71 <h2>{{ title }}</h2> 73 <h2>{{ title }}</h2>
72 {% endif %} 74 {% endif %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld