diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-01 13:58:01 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-07-01 13:58:06 -0700 |
commit | 527d6590d02ad834c92df08c3f0abe9078f5e801 (patch) | |
tree | 8065aee80e1547e06e07445d9c74c350ea68ac44 /python/fatcat_web/templates/release_search.html | |
parent | 57e6f324c7435a312fc8d880eaaaae9bf4f3c471 (diff) | |
download | fatcat-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_search.html')
-rw-r--r-- | python/fatcat_web/templates/release_search.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index 9427663d..59411c62 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -77,10 +77,13 @@ <span class="ui grey basic label small">{{ paper.release_type }}</span> {% endif %} {% endif %} + {% if paper.withdrawn_status %} + <span class="ui red label small">{{ paper.withdrawn_status }}</span> + {% endif %} {% if paper.release_stage and paper.release_stage != "published" %} - <span class="ui pink label small">{{ paper.release_stage }}</span> + <span class="ui pink basic label small">{{ paper.release_stage }}</span> {% elif not paper.release_stage %} - <span class="ui red label small">unknown</span> + <span class="ui red basic label small">unknown</span> {% endif %} {% if paper.container_name %} {% if paper.container_id %} |