From 656da2ece557024c9fc3ca6df9c87caf73741a6c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 8 Apr 2020 15:50:16 -0700 Subject: serp: change stage tag colors pink isn't very visible. and 'accepted' is reasonable status, so display as brown not red. --- fatcat_covid19/templates/entity_macros.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fatcat_covid19/templates/entity_macros.html') 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 %} [{{ paper.withdrawn_status }}] {% endif %} - {% if paper.release_stage and paper.release_stage != "published" %} - [{{ paper.release_stage }}] + {% if paper.release_stage == "accepted" %} + [{{ paper.release_stage }}] + {% elif paper.release_stage and paper.release_stage != "published" %} + [{{ paper.release_stage }}] {% elif not paper.release_stage %} [unpublished?] {% endif %} -- cgit v1.2.3