summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/release_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-07-01 13:58:01 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-07-01 13:58:06 -0700
commit527d6590d02ad834c92df08c3f0abe9078f5e801 (patch)
tree8065aee80e1547e06e07445d9c74c350ea68ac44 /python/fatcat_web/templates/release_view.html
parent57e6f324c7435a312fc8d880eaaaae9bf4f3c471 (diff)
downloadfatcat-527d6590d02ad834c92df08c3f0abe9078f5e801.tar.gz
fatcat-527d6590d02ad834c92df08c3f0abe9078f5e801.zip
show release withdrawn status
Including in search results. De-emphasize release_stage button in search results.
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r--python/fatcat_web/templates/release_view.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 5b019b3c..52f32fdc 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -253,7 +253,11 @@
{% if release.release_type or release.release_stage or release.release_year %}
<div class="ui segment attached">
<b>Type</b> &nbsp;<code>{{ release.release_type or 'unknown' }}</code><br>
- <b>Stage</b> &nbsp; <code>{{ release.release_stage or 'unknown' }}</code><br>
+ <b>Stage</b> &nbsp; <code>{{ release.release_stage or 'unknown' }}
+ {% if release.withdrawn_status %}
+ <strong style="color: red;">[{{ release.withdrawn_status }}]</strong>
+ {% endif %}
+ </code><br>
{% if release.release_date %}
<meta itemprop="datePublished" content="{{ release.release_date }}">
<b>Date</b> &nbsp; {{ release.release_date }}<br>
@@ -261,6 +265,9 @@
<meta itemprop="datePublished" content="{{ release.release_year }}">
<b>Year</b> &nbsp; {{ release.release_year }}<br>
{% endif %}
+ {% if release.withdrawn_date %}
+ <b>Withdrawn</b> &nbsp; {{ release.withdrawn_date }}<br>
+ {% endif %}
{% if release.version %}
<b>Version</b> &nbsp; <code>{{ release.version }}</code><br>
{% endif %}