Skip to content
Snippets Groups Projects
Forked from KWARC / kwarc.info / www
794 commits behind the upstream repository.
system.html 3.09 KiB
---
layout: default
---

<div class="row">
    <div class="col s12 m5 right">
        <div class="card">
            {% if page.logo %}
                <div class="card-image">
                    <img src="/{{page.logo}}" width="300"/>
                </div>
            {% endif %}
            <div class="card-content">
                <span class="card-title">{{page.title}}</span>
                {% if page.subtitle %}<h6>{{page.subtitle}}</h6>{% endif %}
                {% if page.teaser %}<h6>{{page.teaser}}</h6>{% endif %}
                
                {% if page.start_date %}
                    <p>
                        <b>Start:</b>
                        {% include date.html date=page.start_date %}
                        
                        {% if page.end_date %}
                            <br />
                            <b>End:</b>
                            {% include date.html date=page.end_date %}
                        {% endif %}
                    </p>
                    <hr />
                {% endif %}

                {% if page.orphan %}
                  <p>
                    <a href="{{ site.baseurl }}/systems/orphans">
                        <div class="chip">
                            Up for adoption
                        </div>
                    </a>
                  </p>
                  <hr />
                {% endif %}
                
                {% for person in page.people %}
                  {% include people_chip.html person=person %}
                {% endfor %}
            </div>
            {% assign hasaction = false %}
            
            {% if page.website %}{% assign hasaction = true %}{% endif %}
            {% if page.repository %}{% assign hasaction = true %}{% endif %}
            {% if page.publink %}{% assign hasaction = true %}{% endif %}
            {% if page.supported-by %}{% assign hasaction = true %}{% endif %}
            
            {% if hasaction %}
                <div class="card-action">
                    {% if page.website %}
                        <a target="_blank" href="{{ page.website }}">Website</a>
                        &nbsp;
                    {% endif %}
                    {% if page.repository %}
                        <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 %}