diff options
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 9ebff060..39eb8a80 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -37,8 +37,8 @@ {% endif %} <br>API URL: <a href=" {{ config.FATCAT_PUBLIC_API_HOST -}} - {%- if editgroup and entity.ident -%} - /editgroup/{{ editgroup.editgroup_id }}{# /{{ entity_type }}/{{ entity.ident }} #} + {%- if editgroup and entity.ident and entity.revision -%} + /{{ entity_type }}/rev/{{ entity.revision }} {%- elif entity.ident -%} /{{ entity_type }}/{{ entity.ident }} {%- elif entity.revision -%} |