Issue 406: media_details template deprecated. Removing!

This commit is contained in:
Christopher Allan Webber 2011-07-02 17:49:51 -05:00
parent 316855fa44
commit f9f135647c

View File

@ -1,37 +0,0 @@
{#
# 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 <http://www.gnu.org/licenses/>.
#}
{% extends "mediagoblin/base.html" %}
{% block mediagoblin_content %}
{# temporarily, an "image gallery" that isn't one really ;) #}
{% if media %}
<div class="grid_8 alpha media_image">
<img src="{{ request.app.public_store.file_url(
media.media_files.main) }}" />
<h1>Media details for {{media.title}}</h1>
<p>
<br/>Uploaded: {{ media.created}}
<br/>Description: {{media.description}}
</p>
</div>
<div class="grid_4 omega sidebar">
<p>Uploaded: {{ media.created}}</p>
</div>
{% else %}
<p>Sorry, no such media found.<p/>
{% endif %}
{% endblock %}