diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-04-23 17:22:22 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-04-23 17:31:18 -0700 |
commit | 149140e2b9f66f389299914c058c648d8bba8120 (patch) | |
tree | 4ffb2ac7677ac349f54dd9816bddac5b15ff3901 /python/fatcat_web/templates/container_view.html | |
parent | e749b576bdb9bbec3bcef7e4e389e7fbbf916c84 (diff) | |
download | fatcat-149140e2b9f66f389299914c058c648d8bba8120.tar.gz fatcat-149140e2b9f66f389299914c058c648d8bba8120.zip |
web: fix ident=None broken links
On web interface views for revisions, we had a bunch of broken links
because the ident is "None". This commit fixes these by removing the
links.
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index 8d7c4cae..cf444956 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -23,6 +23,7 @@ Published by {{ container.publisher }} {% endif %} +{% if container.state == "active" %} <h3>Search Releases from this Container</h3> <form class="" role="search" action="/release/search" method="get"> <div class="ui form"> @@ -33,6 +34,7 @@ </div> </div> </form> +{% endif %} {% if container._random_releases %} <h3>Example Publications</h3> |