aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-03 19:35:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-03 19:35:44 -0700
commitea3b8c33cf53b7e50cb353eac2c6f73f5cb75979 (patch)
treed441edde2ada1a7019f07bef9cfd20a9345b984a /python/fatcat_web/templates/container_view.html
parent56e30786ccf326ff69deee9a0dcf86b032d3b1ae (diff)
downloadfatcat-ea3b8c33cf53b7e50cb353eac2c6f73f5cb75979.tar.gz
fatcat-ea3b8c33cf53b7e50cb353eac2c6f73f5cb75979.zip
include example releases on container landing page
Included making release search results an entity macro (in webface templates).
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r--python/fatcat_web/templates/container_view.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html
index c2731db2..ac304e95 100644
--- a/python/fatcat_web/templates/container_view.html
+++ b/python/fatcat_web/templates/container_view.html
@@ -33,6 +33,12 @@
</div>
</div>
</form>
+
+{% if container._random_releases %}
+<h3>Example Publications</h3>
+{% for random_release in container._random_releases %}
+ {{ entity_macros.release_search_result_row(random_release) }}
+{% endfor %}
{% endif %}
</div>