Skip to content
Snippets Groups Projects
psitem.html 1.15 KiB
Newer Older
  • Learn to ignore specific revisions
  • {% comment %}
        Renders a link to a single project or system. Expects 'item' as a parameter. 
    {% endcomment %}
    
    
    Tom Wiesing's avatar
    Tom Wiesing committed
    {% assign item = include.item %}
    
    
    <li class="collection-item avatar">
        {% if item.logo %} <img src="/{{item.logo}}" alt="{{item.title}} logo" class="circle" style="border-radius: 0;" /> {% endif %}
    
        <a href="{{item.url}}" class="title">{{item.title}}</a>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
        {% if item.funding %} ({{item.funding}}) {% endif %}
    
        {% if item.orphan %}<b>(up for adoption)</b>{% endif %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        
        <div>
    
            {% if item.start_date %}
              {% unless item.end_date %}
              <b>started</b>
              {% endunless %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
              {% include date.html date=item.start_date %}
    
              
              {% if item.end_date %}
                  &nbsp;-&nbsp;
    
    Tom Wiesing's avatar
    Tom Wiesing committed
                  {% include date.html date=item.end_date %}
    
              {% 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}}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        </div>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
    </li>