Patch by Strum. Remove redundent tool-tips from Stl media_type

This commit is contained in:
Rodney Ewing 2013-07-12 09:51:42 -07:00
parent 7bfb3ae829
commit ac08a9acaf

View File

@ -108,32 +108,26 @@ window.show_things = function () {
<div style="padding: 4px;"> <div style="padding: 4px;">
<a class="button_action" onclick="show('perspective');" <a class="button_action" onclick="show('perspective');">
title="{%- trans %}Toggle Rotate{% endtrans -%}">
{%- trans %}Perspective{% endtrans -%} {%- trans %}Perspective{% endtrans -%}
</a> </a>
<a class="button_action" onclick="show('front_view');" <a class="button_action" onclick="show('front_view');">
title="{%- trans %}Front{% endtrans -%}">
{%- trans %}Front{% endtrans -%} {%- trans %}Front{% endtrans -%}
</a> </a>
<a class="button_action" onclick="show('top_view');" <a class="button_action" onclick="show('top_view');">
title="{%- trans %}Top{% endtrans -%}">
{%- trans %}Top{% endtrans -%} {%- trans %}Top{% endtrans -%}
</a> </a>
<a class="button_action" onclick="show('side_view');" <a class="button_action" onclick="show('side_view');">
title="{%- trans %}Side{% endtrans -%}">
{%- trans %}Side{% endtrans -%} {%- trans %}Side{% endtrans -%}
</a> </a>
{% if media.media_data.file_type == "stl" %} {% if media.media_data.file_type == "stl" %}
<a id="webgl_button" class="button_action" <a id="webgl_button" class="button_action"
onclick="show_things();" onclick="show_things();">
title="{%- trans %}WebGL{% endtrans -%}">
{%- trans %}WebGL{% endtrans -%} {%- trans %}WebGL{% endtrans -%}
</a> </a>
{% endif %} {% endif %}
<a class="button_action" href="{{ model_download }}" <a class="button_action" href="{{ model_download }}"
title="{%- trans %}Download{% endtrans -%}"
style="float:right;"> style="float:right;">
{%- trans %}Download model{% endtrans -%} {%- trans %}Download model{% endtrans -%}
</a> </a>