Ticket #648: trac#648-remove-tooltips.diff

File trac#648-remove-tooltips.diff, 1.6 KB (added by Ben Sturmfels, 11 years ago)

Remove 'title' attribute from STL media buttons.

  • mediagoblin/templates/mediagoblin/media_displays/stl.html

    diff --git a/mediagoblin/templates/mediagoblin/media_displays/stl.html b/mediagoblin/templates/mediagoblin/media_displays/stl.html
    index a89e0b4..bc12ce4 100644
    a b window.show_things = function () {  
    108108
    109109
    110110<div style="padding: 4px;">
    111   <a class="button_action" onclick="show('perspective');"
    112      title="{%- trans %}Toggle Rotate{% endtrans -%}">
     111  <a class="button_action" onclick="show('perspective');">
    113112    {%- trans %}Perspective{% endtrans -%}
    114113  </a>
    115   <a class="button_action" onclick="show('front_view');"
    116      title="{%- trans %}Front{% endtrans -%}">
     114  <a class="button_action" onclick="show('front_view');">
    117115    {%- trans %}Front{% endtrans -%}
    118116  </a>
    119   <a class="button_action" onclick="show('top_view');"
    120      title="{%- trans %}Top{% endtrans -%}">
     117  <a class="button_action" onclick="show('top_view');">
    121118    {%- trans %}Top{% endtrans -%}
    122119  </a>
    123   <a class="button_action" onclick="show('side_view');"
    124      title="{%- trans %}Side{% endtrans -%}">
     120  <a class="button_action" onclick="show('side_view');">
    125121    {%- trans %}Side{% endtrans -%}
    126122  </a>
    127123{% if media.media_data.file_type == "stl" %}
    128124  <a id="webgl_button" class="button_action"
    129      onclick="show_things();"
    130      title="{%- trans %}WebGL{% endtrans -%}">
     125     onclick="show_things();">
    131126    {%- trans %}WebGL{% endtrans -%}
    132127  </a>
    133128{% endif %}
    134129
    135130  <a class="button_action" href="{{ model_download }}"
    136      title="{%- trans %}Download{% endtrans -%}"
    137131     style="float:right;">
    138132    {%- trans %}Download model{% endtrans -%}
    139133  </a>