Skip to content
Snippets Groups Projects
Unverified Commit 1740cde9 authored by Tom Wiesing's avatar Tom Wiesing
Browse files

Reference Projects from Systems and vice-versa

parent d1f5b794
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,16 @@
{% endif %}
<br />
{% endif %}
{% if item.supported-by %}
<b>funded by</b>
{% for project in item.supported-by %}
{% include project_chip.html project=project %}
{% endfor %}
<br />
{% endif %}
{{item.teaser | safe}}
</div>
</li>
......@@ -2,6 +2,8 @@
layout: default
---
{% assign id = page.url | replace: '/projects/', '' | replace: '/', '' %}
<div class="row">
<div class="col s12 m5 right">
<div class="card">
......@@ -81,6 +83,18 @@ layout: default
</div>
<br />
{% endfor %}
<!-- and list the systems it supports -->
<hr />
<b>Funds: </b>
{% assign systems = site.pages | where: "layout", "system" %}
{% for system in systems %}
{% if system.supported-by contains id %}
{% assign sid = system.url | replace: '/systems/', '' | replace: '/', '' %}
{% include system_chip.html system=sid %}
{% endif %}
{% endfor %}
</div>
{% assign hasaction = false %}
......
......@@ -15,6 +15,8 @@ layout: default
{% if page.subtitle %}<h6>{{page.subtitle}}</h6>{% endif %}
{% if page.teaser %}<h6>{{page.teaser}}</h6>{% endif %}
<hr />
{% if page.start_date %}
<p>
<b>Start:</b>
......@@ -43,6 +45,15 @@ layout: default
{% for person in page.people %}
{% include people_chip.html person=person %}
{% endfor %}
{% if page.supported-by %}
<hr />
<b>Funded by: </b>
{% for project in page.supported-by %}
{% include project_chip.html project=project %}
{% endfor %}
{% endif %}
</div>
{% assign hasaction = false %}
......@@ -61,13 +72,6 @@ layout: default
<a target="_blank" href="{{ page.repository }}">Repository</a>
&nbsp;
{% endif %}
{% if page.supported-by %}
<br/>funded by:
{% for project in page.supported-by %}
<a target="_blank" href="/projects/{{project}}">{{project}}</a>
{% endfor %}
&nbsp;
{% endif %}
{% if page.publink == "auto" %}
<a href="http://kwarc.github.io/bibs/{{ page.url | replace: '/projects/', '' | replace: '/', '' }}/">Publications</a>
{% elsif page.publink %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment