Commit 5055a564 authored by Martin Fischbach's avatar Martin Fischbach
Browse files

fixed topic details

parent 9136b4ad
Pipeline #34565 passed with stage
in 12 minutes and 13 seconds
......@@ -3,61 +3,80 @@ layout: text
---
<h1>{{ page.title }}</h1>
{% assign focus = "|" | split: "|" %}
{% assign level = "|" | split: "|" %}
{% assign type = "|" | split: "|" %}
<!-- focus:
hci
cs
games -->
{% if page.type-hci == true %}
{% assign type = type | push: "Human-Computer Interaction" %}
{% assign affiliation = "|" | split: "|" %}
{% assign topic-plain = page.topic-category | join: ", " %}
{% if topic-plain contains "hci" %}
{% assign focus = focus | push: "Human-Computer Interaction" %}
{% endif %}
{% if page.type-cs == true %}
{% assign type = type | push: "Computer Science" %}
{% if topic-plain contains "ge" %}
{% assign focus = focus | push: "Games Engineering" %}
{% endif %}
{% if page.type-ge == true %}
{% assign type = type | push: "Games Engineering" %}
{% if topic-plain contains "cs" %}
{% assign focus = focus | push: "Computer Science" %}
{% endif %}
<!-- level:
bachelor
master
phd -->
{% if page.type-ba == true %}
{% assign type = type | push: "Bachelor" %}
{% if topic-plain contains "ba" %}
{% assign level = level | push: "Bachelor" %}
{% endif %}
{% if page.type-ma == true %}
{% assign type = type | push: "Master" %}
{% if topic-plain contains "ma" %}
{% assign level = level | push: "Master" %}
{% endif %}
{% if page.type-phd == true %}
{% assign type = type | push: "PhD" %}
{% if topic-plain contains "phd" %}
{% assign level = level | push: "PhD" %}
{% endif %}
{% if topic-plain contains "project" %}
{% assign type = type | push: "Project" %}
{% endif %}
<!-- type:
project
thesis
internship
GRL -->
{% if page.type-project == true %}
{% assign type = type | push: "Project" %}
{% if topic-plain contains "thesis" %}
{% assign type = type | push: "Thesis" %}
{% endif %}
{% if page.type-thesis == true %}
{% assign type = type | push: "Thesis" %}
{% if topic-plain contains "intern" %}
{% assign type = type | push: "Internship" %}
{% endif %}
{% if page.type-intern == true %}
{% assign type = type | push: "Internship" %}
{% if topic-plain contains "grl" %}
{% assign affiliation = affiliation | push: "Games Research Lab" %}
{% endif %}
{% if page.type-ba == grl %}
{% assign type = type | push: "Games Research Lab" %}
{% if topic-plain contains "ind" %}
{% assign affiliation = affiliation | push: "Industry Cooperation" %}
{% endif %}
<!-- coop: -->
{% if page.type-coop == true %}
{% assign type = type | push: "Industry Cooperation" %}
{% if topic-plain contains "emlab" %}
{% assign affiliation = affiliation | push: "Embodiment Lab" %}
{% endif %}
{% if page.image %}
{% include image src=page.image %}
{% endif %}
{% if page.status == 'open' %}
This call for a thesis or project is open for the following modules: {{ type | join: ", " }}<br />
This topic is still open and listed for the following categories:
<ul>
<li>Focus: {{ focus | join: ", " }}</li>
<li>Level: {{ level | join: ", " }}</li>
<li>Type: {{ type | join: ", " }}</li>
{% unless affiliation == empty %} <li>Affiliation: {{ affiliation | join: ", " }}</li>{% endunless %}
</ul>
If you are interested, please get in touch with the primary contact person listed below.
{% endif %}
{% if page.status == 'assigned' %}
......@@ -66,11 +85,6 @@ This project is already assigned.
{% if page.status == 'closed' %}
This project is already completed.
{% endif %}
<br /><br />
{% if page.image %}
{% include image src=page.image %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment