Simplify/Robustify the thumbnail URL usage in templates
[mediagoblin.git] / mediagoblin / templates / mediagoblin / user_pages / collection_item_confirm_remove.html
index f56ab5abcac03264ecc992eaff836b8a2f086f0f..9be1032114c811a4a33541ad37792cdb330a208a 100644 (file)
           Really remove {{ media_title }} from {{ collection_title }}?
         {%- endtrans %}
       </h1>
-         
+
       <div style="text-align: center;" >
-        <img src="{{ request.app.public_store.file_url(
-                         collection_item.get_media_entry.media_files['thumb']) }}" />
+        <img src="{{ collection_item.get_media_entry.thumb_url }}" />
       </div>
-         
+
       <br />
-         
+
       <p class="delete_checkbox_box">
        {{ form.confirm }}
        <label for="{{ (form.confirm.name) }}">{{ _(form.confirm.label.text) }}</label>