|
| 1 | +--- |
| 2 | +title: Retired Projects |
| 3 | +subnav: retired-projects |
| 4 | +layout: default |
| 5 | +--- |
| 6 | + |
| 7 | +<link rel="stylesheet" href="{{ site.baseurl }}css/projects.css"></link> |
| 8 | + |
| 9 | +<div class="intro">{{ site.data.data.projects.intro }}</div> |
| 10 | + |
| 11 | +<ul class="toc" id="tags-toc"></ul> |
| 12 | + |
| 13 | +<div class="projects"> |
| 14 | + {% for project in site.data.data.projects.project_cards %} |
| 15 | + {% if project.status %} |
| 16 | + <!-- FIXME: do we ever not have project status associated? --> |
| 17 | + {% if project.status.tag != "retired" %} |
| 18 | + {% continue %} |
| 19 | + {% endif %} |
| 20 | + {% endif %} |
| 21 | + <div class="project"> |
| 22 | + <a class="anchor" name="{{ project.anchor }}"></a> |
| 23 | + |
| 24 | + <div class="title-bar"> |
| 25 | + <h3><a href="#{{ project.anchor }}"> {{ project.name | size_upcase }} </a></h3> |
| 26 | + <div class="link-list"> |
| 27 | + <div class="press-link"> |
| 28 | + {% capture press_projects %}{{ site.data.data.press.presses | map: 'project' | map: 'anchor' }}{% endcapture %} |
| 29 | + {% if press_projects contains project.anchor %} |
| 30 | + <a href="/press?filter={{ project.anchor }}">(press)</a> |
| 31 | + {% endif %} |
| 32 | + </div> |
| 33 | + <div class="pubs-link"> |
| 34 | + {% capture pub_projects %}{{ site.data.data.publications.publications | map: 'project' | map: 'anchor' }}{% endcapture %} |
| 35 | + {% if pub_projects contains project.anchor %} |
| 36 | + <a href="/publications?filter={{ project.anchor }}">(publications)</a> |
| 37 | + {% endif %} |
| 38 | + </div> |
| 39 | + <div class="web-link"> |
| 40 | + {% if project.site %} |
| 41 | + <a href="{{ project.site }}">(website)</a> |
| 42 | + {% endif %} |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + {% if project.status %} |
| 46 | + <span class="status tooltip-wrapper"> {{ project.status.name }} |
| 47 | + <div class="tooltip"> {{ project.status.description }} </div> |
| 48 | + </span> |
| 49 | + {% endif %} |
| 50 | + </div> |
| 51 | + {% if project.tags %} |
| 52 | + <div class="tags"> |
| 53 | + {{ project.tags | map: 'name' | array_to_sentence_string }} |
| 54 | + </div> |
| 55 | + {% endif %} |
| 56 | + |
| 57 | + <img class="image" src="{{ project.image }}"></img> |
| 58 | + |
| 59 | + <div class="description"><p> |
| 60 | + {{ project.description }} |
| 61 | + </p></div> |
| 62 | + |
| 63 | + <ul> |
| 64 | + {% if project.products %} |
| 65 | + <li> |
| 66 | + <span class="header">Products: </span> |
| 67 | + <span class="products">{{ project.products }}</span> |
| 68 | + </li> |
| 69 | + {% endif %} |
| 70 | + |
| 71 | + {% if project.people %} |
| 72 | + <br /> |
| 73 | + <li><div class="people"> |
| 74 | + <span class="header">People: </span> |
| 75 | + {% assign personLinks = '' | split:':' %} |
| 76 | + {% for person in project.people %} |
| 77 | + {% if person == nil %} |
| 78 | + {% capture personLink %}<span style="color: red;">NAME MISSING</span>{% endcapture %} |
| 79 | + {% else %} |
| 80 | + {% assign defaultLink = "people#" | append: person.anchor %} |
| 81 | + {% capture personLink %}{% if person.link or person.anchor %}<a class={% if |
| 82 | + person.internal %}"internal"{% else %}"external"{% endif %} href="{{ person.link | default: defaultLink}}">{% endif %}{{ person.name }}{% if person.link %}</a>{% endif %}{% endcapture %} |
| 83 | + {% endif %} |
| 84 | + {% assign personLinks = personLinks | push: personLink %} |
| 85 | + {% endfor %} |
| 86 | + |
| 87 | + {{ personLinks | array_to_sentence_string }} |
| 88 | + </div></li> |
| 89 | + {% endif %} |
| 90 | + </ul> |
| 91 | + </div> |
| 92 | + {% endfor %} |
| 93 | +</div> |
| 94 | + |
| 95 | +<div id="action-flash" class="fade-out"></div> |
| 96 | + |
| 97 | +<script src="{{ site.baseurl }}js/retired_project_tags.js"></script> |
0 commit comments