diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 14:24:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 14:24:16 -0700 |
commit | 404f6ff6d542dc6dc61395cdb25646e3a69eb061 (patch) | |
tree | c70a5421be53f935674f64f0d519a31e32fba4d4 /python/fatcat_web/templates/creator_view.html | |
parent | 95286700bbe06c8c0676e08acc0b6dc4a8f8504d (diff) | |
download | fatcat-404f6ff6d542dc6dc61395cdb25646e3a69eb061.tar.gz fatcat-404f6ff6d542dc6dc61395cdb25646e3a69eb061.zip |
implement major refactor for other entity types
Diffstat (limited to 'python/fatcat_web/templates/creator_view.html')
-rw-r--r-- | python/fatcat_web/templates/creator_view.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/fatcat_web/templates/creator_view.html b/python/fatcat_web/templates/creator_view.html index 63308a51..63f83917 100644 --- a/python/fatcat_web/templates/creator_view.html +++ b/python/fatcat_web/templates/creator_view.html @@ -1,4 +1,4 @@ -{% set entity = creator %} +{% set creator = entity %} {% import "entity_macros.html" as entity_macros %} {% extends "base.html" %} @@ -38,9 +38,9 @@ <br> <h3>Releases</h3> -{% if releases != [] %} +{% if creator._releases != [] %} <p>This creator has contributed to: - {{ entity_macros.release_list(releases) }} + {{ entity_macros.release_list(creator._releases) }} {% else %} This creator has not contributed to any releases. {% endif %} @@ -68,7 +68,7 @@ This creator has not contributed to any releases. <br><a href="https://scholar.google.com/scholar?q={{ creator.display_name|urlencode }}">Google Scholar</a> </div> -{{ entity_macros.fatcat_bits(entity, "creator", "") }} +{{ entity_macros.fatcat_bits(entity, "creator", "", editgroup) }} </div> </div> |