{# # GNU MediaGoblin -- federated, autonomous media hosting # Copyright (C) 2011, 2012 MediaGoblin contributors. See AUTHORS. # # 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/user_pages/media.html' %} {% block mediagoblin_media %} {% set model_download = request.app.public_store.file_url( media.media_files['original']) %} {% set perspective_view = request.app.public_store.file_url( media.media_files['perspective']) %} {% set top_view = request.app.public_store.file_url( media.media_files['top']) %} {% set side_view = request.app.public_store.file_url( media.media_files['side']) %} {% set front_view = request.app.public_store.file_url( media.media_files['front']) %} {% if media.media_data.file_type == "stl" %} {% endif %}
{% trans media_title=media.title -%}
        Image for {{ media_title }}{% endtrans %} {% trans media_title=media.title -%}
        Image for {{ media_title }}{% endtrans %} {% trans media_title=media.title -%}
        Image for {{ media_title }}{% endtrans %} {% trans media_title=media.title -%}
        Image for {{ media_title }}{% endtrans %}
{%- trans %}Perspective{% endtrans -%} {%- trans %}Front{% endtrans -%} {%- trans %}Top{% endtrans -%} {%- trans %}Side{% endtrans -%} {% if media.media_data.file_type == "stl" %} {%- trans %}WebGL{% endtrans -%} {% endif %} {%- trans %}Download model{% endtrans -%}
{% endblock %} {% block mediagoblin_sidebar %}

{% trans %}File Format{% endtrans %}

{{ media.media_data.file_type }}

{% trans %}Object Height{% endtrans %}

~{{ media.media_data.height|int }} mm

{% template_hook("stl_sideinfo") %} {% endblock %}