Skip to content

Commit bf1cff5

Browse files
committed
Testing curation badges
1 parent abdd0d6 commit bf1cff5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

_layouts/organism-page.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ <h1 id="title"> {{ page.title }}
5858
<img class="card-img-top" loading="lazy" src="/assets/img/{{pw.wpid}}/{{pw.wpid}}-thumb.png" alt="{{ pw.title }}">
5959
<div class="card-body">
6060
<p class="card-text">{{ pw.title }}</p>
61+
{% if page.curationui %}
62+
<p class="card-text">
63+
<!--This badge shows the curation status-->
64+
<a id="badge-curation" target="_blank"
65+
href="https://www.wikipathways.org/wikipathways-collection/reports/{{pw.wpid}}.html">
66+
<img alt="pathway curation" src="https://img.shields.io/endpoint?style=flat-square&url=https://www.wikipathways.org/wikipathways-collection/reports/{{pw.wpid}}.json">
67+
</a>
68+
</p>
69+
{% endif %}
6170
</div>
6271
</a>
6372
</div>

_organisms/cocoa.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ title: "Theobroma cacao pathways"
77
description:
88
homology:
99
group: "Plants"
10-
---
10+
curationui: true
11+
---

0 commit comments

Comments
 (0)