aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/deleted_entity.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-02 17:48:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-02 17:48:51 -0800
commit464048c7cdfa861fe8b4c78000526413a7e2e145 (patch)
tree286b209a24d15e77acbbe50d77b1085725b68bdd /python/fatcat_web/templates/deleted_entity.html
parenta9046843fb3105e9db826dd0fbb2dc58d9b671f4 (diff)
downloadfatcat-464048c7cdfa861fe8b4c78000526413a7e2e145.tar.gz
fatcat-464048c7cdfa861fe8b4c78000526413a7e2e145.zip
improve/fix deleted entity view
Diffstat (limited to 'python/fatcat_web/templates/deleted_entity.html')
-rw-r--r--python/fatcat_web/templates/deleted_entity.html15
1 files changed, 3 insertions, 12 deletions
diff --git a/python/fatcat_web/templates/deleted_entity.html b/python/fatcat_web/templates/deleted_entity.html
index af25da54..a19910e7 100644
--- a/python/fatcat_web/templates/deleted_entity.html
+++ b/python/fatcat_web/templates/deleted_entity.html
@@ -23,20 +23,11 @@
<div class="five wide column">
<div class="ui segment top attached">
-<b>Entity Type:</b> {{ entity_type }}
-</div><div class="ui segment attached">
-
-<b>Fatcat Bits</b>
-<p>State is "{{ entity.state }}". Revision:
-<br><small><code>{{ entity.revision }}</code></small>
-<br><a href="https://api.{{ config.FATCAT_DOMAIN }}/v0/{{ entity_type }}/{{ entity.ident }}">As JSON object via API</a>
-
-</div>
-<div class="two ui buttons bottom attached">
- <a href="/entity/{{ entity.ident }}/edit" class="ui blue button">Edit Metadata</a>
- <a href="/entity/{{ entity.ident }}/history" class="ui button">View History</a>
+<b>Entity Type:</b> <code>{{ entity_type }}</code>
</div>
+{{ entity_macros.fatcat_bits(entity, entity_type, "") }}
+
</div>
</div>