diff options
author | Martin Czygan <martin@archive.org> | 2020-04-24 22:43:46 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2020-04-24 22:43:46 +0000 |
commit | 9b4d87a4e20e97fa40c0a4ff37d459628f1978b2 (patch) | |
tree | 0d24bf46c7722daa1b9a063ac5753d605ea5facf /python/fatcat_web/templates/entity_macros.html | |
parent | 661579dfc7025a9443bc41fd8f344096119cdfd3 (diff) | |
parent | 149140e2b9f66f389299914c058c648d8bba8120 (diff) | |
download | fatcat-9b4d87a4e20e97fa40c0a4ff37d459628f1978b2.tar.gz fatcat-9b4d87a4e20e97fa40c0a4ff37d459628f1978b2.zip |
Merge branch 'bnewbold-non-ident-fix' into 'master'
fix ident=None broken links
Closes #3
See merge request webgroup/fatcat!49
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 7c5436c6..3308a3d5 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -54,10 +54,12 @@ </a> </div> +{% if entity.ident %} <div class="two ui buttons bottom attached"> <a href="{% if editgroup %}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/{{ entity_type }}/{{ entity.ident }}/edit" class="ui blue button">Edit Metadata</a> <a href="/{{ entity_type }}/{{ entity.ident }}/history" class="ui button">View History</a> </div> +{% endif %} {%- endmacro %} |