aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-04 17:58:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-04 17:58:35 -0800
commit5fc86fe5bdc5921c0ee441c34e3f78157eb4a4eb (patch)
tree09554791e119f1b0f2d4bee423ce88dcaf9c7637
parentca3e9d6e99b9906d51c63e27e8e0dbd3b1816285 (diff)
downloadfatcat-5fc86fe5bdc5921c0ee441c34e3f78157eb4a4eb.tar.gz
fatcat-5fc86fe5bdc5921c0ee441c34e3f78157eb4a4eb.zip
smaller release status
-rw-r--r--python/fatcat_web/templates/entity_macros.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index 8f1706ae..815c6a9f 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -42,12 +42,13 @@
<tbody>
{% for release in releases %}
<tr><td class="collapsing center aligned">
- {% if release.release_date %}{{ release.release_date }}{% elif release.release_year %}{{ release.release_year }}{% endif %}
+ {% if release.release_date %}{{ release.release_date }}{% elif release.release_year %}{{ release.release_year }}{% else %}<i>unknown</i>{% endif %}
<td class="">
<b><a href="/release/{{ release.ident }}">{{ release.title }}</a></b>
- <br>{{ release.release_status or "unknown status" }}
+ <br><small>{{ release.release_status or "unknown status" }}
| {{ release.release_type or "unknown type" }}
{% if release.license_slug %} | {{ release.license_slug }}{% endif %}
+ </small>
{% if release.doi %}
<br><a href="https://doi.org/{{ release.doi }}" style="color:green;">doi:{{ release.doi }}</a>
{% endif %}