summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/container_edit.html3
-rw-r--r--python/fatcat_web/templates/entity_edit_toml.html4
-rw-r--r--python/fatcat_web/templates/file_edit.html3
-rw-r--r--python/fatcat_web/templates/release_edit.html3
4 files changed, 13 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/container_edit.html b/python/fatcat_web/templates/container_edit.html
index fd07b3da..99f77d53 100644
--- a/python/fatcat_web/templates/container_edit.html
+++ b/python/fatcat_web/templates/container_edit.html
@@ -12,6 +12,9 @@
%}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/container/{{
existing_ident }}/edit/toml">TOML editing form</a> to access all metadata
fields in a raw format.
+ {% if not editgroup %}
+ You can also <a href="/container/{{ existing_ident }}/delete">delete this entity</a>.
+ {% endif %}
{% endblock %}
<p>See <a href="https://guide.fatcat.wiki/entity_container.html">the catalog
diff --git a/python/fatcat_web/templates/entity_edit_toml.html b/python/fatcat_web/templates/entity_edit_toml.html
index 807e4d2b..64768d6e 100644
--- a/python/fatcat_web/templates/entity_edit_toml.html
+++ b/python/fatcat_web/templates/entity_edit_toml.html
@@ -7,6 +7,10 @@
<h1 class="ui header">Edit Entity (TOML mode)</h1>
<form class="ui form" id="edit_toml_form" method="POST" action="{% if editgroup and editgroup.editgroup_id %}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/{{ entity_type }}/{{ existing_ident }}/edit/toml">
+
+ {% if not editgroup %}
+ <p>You can also <a href="/{{ entity_type }}/{{ existing_ident }}/delete">delete this entity</a>.
+ {% endif %}
{% endblock %}
<p>See <a href="https://guide.fatcat.wiki/entity_release.html">the catalog
diff --git a/python/fatcat_web/templates/file_edit.html b/python/fatcat_web/templates/file_edit.html
index b7876fc5..745b0c41 100644
--- a/python/fatcat_web/templates/file_edit.html
+++ b/python/fatcat_web/templates/file_edit.html
@@ -12,6 +12,9 @@
%}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/file/{{
existing_ident }}/edit/toml">TOML editing form</a> to access all metadata
fields in a raw format.
+ {% if not editgroup %}
+ You can also <a href="/file/{{ existing_ident }}/delete">delete this entity</a>.
+ {% endif %}
{% endblock %}
<p>See <a href="https://guide.fatcat.wiki/entity_file.html">the catalog
diff --git a/python/fatcat_web/templates/release_edit.html b/python/fatcat_web/templates/release_edit.html
index 50f73b8c..c26c9850 100644
--- a/python/fatcat_web/templates/release_edit.html
+++ b/python/fatcat_web/templates/release_edit.html
@@ -12,6 +12,9 @@
%}/editgroup/{{ editgroup.editgroup_id }}{% endif %}/release/{{
existing_ident }}/edit/toml">TOML editing form</a> to access all metadata
fields in a raw format.
+ {% if not editgroup %}
+ You can also <a href="/release/{{ existing_ident }}/delete">delete this entity</a>.
+ {% endif %}
{% endblock %}
<p>See <a href="https://guide.fatcat.wiki/entity_release.html">the catalog