From: Aeva Ntsc Date: Tue, 16 Oct 2012 06:02:05 +0000 (-0500) Subject: Disabled thingiview for obj models, since thingiview's support for them seems to... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d93eac36fc2bbc10102d682128722c448aca5ded;p=mediagoblin.git Disabled thingiview for obj models, since thingiview's support for them seems to be broken. --- diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html index 2fcca62d..ceabbf04 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/stl.html +++ b/mediagoblin/templates/mediagoblin/media_displays/stl.html @@ -119,11 +119,13 @@ window.show_things = function () { title="{%- trans %}Side{% endtrans -%}"> {%- trans %}Side{% endtrans -%} +{% if media.media_data.file_type == "stl" %} {%- trans %}WebGL{% endtrans -%} +{% endif %}