Commit ed7dfe64 authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents 9daf35ff 6f3bf424
......@@ -11,9 +11,9 @@
<td>{{ item.translation.subproject }}</td>
<td class="translatetext"><a href="{{ item.get_absolute_url }}">{{ item.source|fmttranslation }}</a></td>
<td class="translatetext"><a href="{{ item.get_absolute_url }}">{{ item.target|fmttranslationdiff:unit }}</a></td>
<td class="mergebutton">
<td>
{% if perms.trans.save_translation %}
<a href="{{ unit.translation.get_translate_url}}?type={{ type }}&amp;pos={{ unit.position }}{{ search_url }}&amp;checksum={{ unit.checksum }}&amp;merge={{ item.id }}" class="mergebutton" title="{% trans "Use this translation for all subprojects" %}">{% trans "Use this translation" %}</a>
<a class="mergebutton" href="{{ unit.translation.get_translate_url}}?type={{ type }}&amp;pos={{ unit.position }}{{ search_url }}&amp;checksum={{ unit.checksum }}&amp;merge={{ item.id }}" class="mergebutton" title="{% trans "Use this translation for all subprojects" %}">{% trans "Use this translation" %}</a>
{% endif %}
</td>
</tr>
......
......@@ -82,7 +82,7 @@ td.suggestions table {
width: 20px;
height: 20px;
}
td.toolbar a, td.mergebutton a {
td.toolbar a {
height: 20px;
font-size: 10px;
font-weight: normal;
......
......@@ -212,7 +212,7 @@ $(function() {
}
},
load: function (e, ui) {
$('.mergebutton').button({text: true, icons: { primary: "ui-icon-check" }});
$('a.mergebutton').button({text: true, icons: { primary: "ui-icon-check" }});
}
});
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment