From 08750772eaf140266d1be0aac5024f581664012b Mon Sep 17 00:00:00 2001
From: Mark Holmquist
Date: Mon, 22 Aug 2011 02:57:40 -0700
Subject: + 'confirm' section for confirmation dialogues + implemented delete
functionality * fixed several instances of 'must be an instance of unicode,
not str'
---
mediagoblin/templates/mediagoblin/user_pages/media.html | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'mediagoblin/templates')
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 6747fddc..c80144aa 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -127,8 +127,11 @@
class="media_icon" />edit
-
{% trans %}delete{% endtrans %}
+
{% trans %}delete{% endtrans %}
{% endif %}
--
cgit v1.2.3
From ae4feecfc20b6c7daf54e7822dc85dba6ac0f2eb Mon Sep 17 00:00:00 2001
From: Mark Holmquist
Date: Mon, 22 Aug 2011 03:35:44 -0700
Subject: * Fix bad commit (oops!) * Delete works now
---
.../mediagoblin/confirm/confirm_delete.html | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
(limited to 'mediagoblin/templates')
diff --git a/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html b/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
new file mode 100644
index 00000000..ada89d5d
--- /dev/null
+++ b/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
@@ -0,0 +1,40 @@
+{#
+# GNU MediaGoblin -- federated, autonomous media hosting
+# Copyright (C) 2011 Free Software Foundation, Inc
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#}
+{% extends "mediagoblin/base.html" %}
+
+{% import "/mediagoblin/utils/wtforms.html" as wtforms_util %}
+
+{% block mediagoblin_content %}
+
+
+{% endblock %}
--
cgit v1.2.3
From 46df0297e029c075a2c28b0c31490c560c99158c Mon Sep 17 00:00:00 2001
From: Joar Wandborg
Date: Mon, 29 Aug 2011 00:42:55 +0200
Subject: Added notice that deletion of a media entry is *permanent*
---
mediagoblin/templates/mediagoblin/confirm/confirm_delete.html | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'mediagoblin/templates')
diff --git a/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html b/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
index ada89d5d..67d45811 100644
--- a/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
+++ b/mediagoblin/templates/mediagoblin/confirm/confirm_delete.html
@@ -31,6 +31,14 @@
Really delete {{ title }}?
{%- endtrans %}
+
+
+ {%- trans -%}
+ If you choose yes, the media entry will be deleted permanently.
+ {%- endtrans %}
+
+
+
{{ wtforms_util.render_divs(form) }}