Commits

Diego Búrigo Zacarão  committed 0b9edf7

minor: Removing escapejs applied wrongly

  • Participants
  • Parent commits c2aa187

Comments (0)

Files changed (1)

File transifex/templates/resources/resource_actions.html

             {% if request.user.is_authenticated %}
                 <a href="{% url download_translation resource.project.slug resource.slug target_language.code %}">{% trans "Download for viewing" %}</a>
             {% else %}
-                <a class="disabled" title='{% trans "You must login to be able to download the translations."|escapejs %}'>{% trans "Download for viewing" %}</a>
+                <a class="disabled" title="{% trans "You must login to be able to download the translations." %}">{% trans "Download for viewing" %}</a>
             {% endif %}
 			</span>
           </li>
           <li>
             {% if request.user.is_authenticated %}
             <span id="download_for_translation" class="i16 lock">
-              <a {% if lock %}{% ifnotequal request.user lock.owner %}class="disabled" title="{% trans "Resource cannot be locked"|escapejs %}" {% else %}href="#"{% endifnotequal %}{% else %}{% if can_submit_translation and resource.accept_translations %}href="#"{% else %}class="disabled"{% endif %}{% endif %}>{% trans "Download for translation" %}</a>
+              <a {% if lock %}{% ifnotequal request.user lock.owner %}class="disabled" title="{% trans "Resource cannot be locked" %}" {% else %}href="#"{% endifnotequal %}{% else %}{% if can_submit_translation and resource.accept_translations %}href="#"{% else %}class="disabled"{% endif %}{% endif %}>{% trans "Download for translation" %}</a>
             </span>
             {% else %}
             <span id="download_for_translation" class="i16 lock">
-              <a class="disabled" title='{% trans "You must login to use this action"|escapejs %}'>{% trans "Download for translation" %}</a>
+              <a class="disabled" title="{% trans "You must login to use this action" %}">{% trans "Download for translation" %}</a>
             </span>
             {% endif %}
-            <span class="tipsy_enable" title='{% trans "Lock the file under your ownership and download it locally to edit it, in one action."|escapejs %}' style="border:0">(?)</span>
+            <span class="tipsy_enable" title="{% trans "Lock the file under your ownership and download it locally to edit it, in one action." %}" style="border:0">(?)</span>
             <div class="error_notes"></div>
           </li>
           <li>