aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-08 15:50:16 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-08 15:50:43 -0700
commit656da2ece557024c9fc3ca6df9c87caf73741a6c (patch)
treefa78ba64351420fd40be33cbaf77e1c1028d46a0
parentb781899174a50793d2eea093907fd56bcba2d4fc (diff)
downloadfatcat-covid19-656da2ece557024c9fc3ca6df9c87caf73741a6c.tar.gz
fatcat-covid19-656da2ece557024c9fc3ca6df9c87caf73741a6c.zip
serp: change stage tag colors
pink isn't very visible. and 'accepted' is reasonable status, so display as brown not red.
-rw-r--r--fatcat_covid19/templates/entity_macros.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/fatcat_covid19/templates/entity_macros.html b/fatcat_covid19/templates/entity_macros.html
index c4cee62..7be51ad 100644
--- a/fatcat_covid19/templates/entity_macros.html
+++ b/fatcat_covid19/templates/entity_macros.html
@@ -94,8 +94,10 @@
{% if paper.withdrawn_status %}
<b style="color: red;"><code>[{{ paper.withdrawn_status }}]</code></b>
{% endif %}
- {% if paper.release_stage and paper.release_stage != "published" %}
- <b style="color: pink;"><code>[{{ paper.release_stage }}]</code></b>
+ {% if paper.release_stage == "accepted" %}
+ <b style="color: brown;"><code>[{{ paper.release_stage }}]</code></b>
+ {% elif paper.release_stage and paper.release_stage != "published" %}
+ <b style="color: red;"><code>[{{ paper.release_stage }}]</code></b>
{% elif not paper.release_stage %}
<b style="color: red;"><code>[unpublished?]</code></b>
{% endif %}