Skip to content
Snippets Groups Projects
psitem.html 750 B
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
    <li class="collection-item">
    
        <a href="{{item.url}}" class="title">{{item.title}}</a>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
        {% if item.funding %} ({{item.funding}}) {% endif %}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        
        <div>
    
            {% if item.start_date %}
              {% unless item.end_date %}
              <b>started</b>
              {% endunless %}
              {% assign date = item.start_date %}
              {% include date.html %}
              
              {% if item.end_date %}
                  &nbsp;-&nbsp;
                  {% assign date = item.end_date %}
                  {% include date.html %}
              {% endif %}
              <br />
            {% endif %}
            
            {{item.teaser | safe}}
    
    Tom Wiesing's avatar
    Tom Wiesing committed
        </div>
    
    Michael Kohlhase's avatar
    Michael Kohlhase committed
    </li>