Remove Edit/Delete icons, since they are not required yet.
authorJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 15:45:45 +0000 (16:45 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 15:45:45 +0000 (16:45 +0100)
mediagoblin/static/images/icon_delete.png [deleted file]
mediagoblin/static/images/icon_edit.png [deleted file]
mediagoblin/templates/mediagoblin/user_pages/media.html

diff --git a/mediagoblin/static/images/icon_delete.png b/mediagoblin/static/images/icon_delete.png
deleted file mode 100644 (file)
index 9d76a5d..0000000
Binary files a/mediagoblin/static/images/icon_delete.png and /dev/null differ
diff --git a/mediagoblin/static/images/icon_edit.png b/mediagoblin/static/images/icon_edit.png
deleted file mode 100644 (file)
index 480c73a..0000000
Binary files a/mediagoblin/static/images/icon_edit.png and /dev/null differ
index c8a9650fe3c1ba559df7bf78ccd7476034b16c16..7ef64c76c4cf4e3c179948e5296466a758dad288 100644 (file)
 
       {% if media['uploader'] == request.user._id or 
                                  request.user['is_admin'] %}
-        <h3>{% trans %}Actions{% endtrans %}</h3>
         <p>
           {% set edit_url = request.urlgen('mediagoblin.edit.edit_media',
                                      user= media.uploader().username,
                                      media= media._id) %}
-          <a href="{{ edit_url }}"
-             ><img src="{{ request.staticdirect('/images/icon_edit.png') }}"
-                   class="media_icon" /></a>
-          <a href="{{ edit_url }}">{% trans %}edit{% endtrans %}</a>
+          <a href="{{ edit_url }}">{% trans %}Edit{% endtrans %}</a>
         </p>
         <p>
           {% set delete_url = request.urlgen('mediagoblin.user_pages.media_confirm_delete',
                                      user= media.uploader().username,
                                      media= media._id) %}
-          <a href="{{ delete_url }}"
-             ><img src="{{ request.staticdirect('/images/icon_delete.png') }}"
-               class="media_icon" /></a>
-          <a href="{{ delete_url }}">{% trans %}delete{% endtrans %}</a>
+          <a href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a>
         </p>
       {% endif %}