diff options
author | bnewbold <bnewbold@archive.org> | 2021-04-13 19:02:19 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2021-04-13 19:02:19 +0000 |
commit | 7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5 (patch) | |
tree | 2c7ff27a124e87d9d4dd7f71294f79609717236b /python/fatcat_web/templates/entity_base.html | |
parent | 83ae1d85d093f1f37bba74283b1d689bb1f1c346 (diff) | |
parent | 34afb00666814d7bcb5c29085a25353986ea805d (diff) | |
download | fatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.tar.gz fatcat-7ca9a96705c5a2da4fe56a8cab6aa7653dac4ea5.zip |
Merge branch 'bnewbold-ui-tweaks-202104' into 'master'
Misc UI tweaks (2021-04)
See merge request webgroup/fatcat!103
Diffstat (limited to 'python/fatcat_web/templates/entity_base.html')
-rw-r--r-- | python/fatcat_web/templates/entity_base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html index f30df0da..36280f5d 100644 --- a/python/fatcat_web/templates/entity_base.html +++ b/python/fatcat_web/templates/entity_base.html @@ -65,8 +65,8 @@ <p style="font-size: larger;"> {% if entity._authors and entity._authors != [] %} by {% for contrib in entity._authors[:12] %} - {% if contrib.creator_id %} - <b><a href="/creator/{{contrib.creator_id}}">{{ contrib.raw_name }}</a></b>{% if not loop.last %}, {% endif %} + {% if contrib.creator_id and contrib.creator and contrib.creator.display_name %} + <b><a href="/creator/{{contrib.creator_id}}">{{ contrib.creator.display_name }}</a></b>{% if not loop.last %}, {% endif %} {% else %} {% if contrib.raw_name != None %}{{ contrib.raw_name }}{% else %}<i>Unknown</i>{% endif %}{% if not loop.last %}, {% endif %} {% endif %} |